Interface UpdateConnectionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateConnectionRequest.Builder,,UpdateConnectionRequest> GlueRequest.Builder,SdkBuilder<UpdateConnectionRequest.Builder,,UpdateConnectionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateConnectionRequest
@Mutable
@NotThreadSafe
public static interface UpdateConnectionRequest.Builder
extends GlueRequest.Builder, SdkPojo, CopyableBuilder<UpdateConnectionRequest.Builder,UpdateConnectionRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the Data Catalog in which the connection resides.default UpdateConnectionRequest.BuilderconnectionInput(Consumer<ConnectionInput.Builder> connectionInput) AConnectionInputobject that redefines the connection in question.connectionInput(ConnectionInput connectionInput) AConnectionInputobject that redefines the connection in question.The name of the connection definition to update.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.glue.model.GlueRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
catalogId
The ID of the Data Catalog in which the connection resides. If none is provided, the Amazon Web Services account ID is used by default.
- Parameters:
catalogId- The ID of the Data Catalog in which the connection resides. If none is provided, the Amazon Web Services account ID is used by default.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the connection definition to update.
- Parameters:
name- The name of the connection definition to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionInput
A
ConnectionInputobject that redefines the connection in question.- Parameters:
connectionInput- AConnectionInputobject that redefines the connection in question.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionInput
default UpdateConnectionRequest.Builder connectionInput(Consumer<ConnectionInput.Builder> connectionInput) A
This is a convenience method that creates an instance of theConnectionInputobject that redefines the connection in question.ConnectionInput.Builderavoiding the need to create one manually viaConnectionInput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconnectionInput(ConnectionInput).- Parameters:
connectionInput- a consumer that will call methods onConnectionInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateConnectionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateConnectionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-