Interface CreateConnectionRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateConnectionRequest.Builder,CreateConnectionRequest>,GlueRequest.Builder,SdkBuilder<CreateConnectionRequest.Builder,CreateConnectionRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateConnectionRequest
public static interface CreateConnectionRequest.Builder extends GlueRequest.Builder, SdkPojo, CopyableBuilder<CreateConnectionRequest.Builder,CreateConnectionRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateConnectionRequest.BuildercatalogId(String catalogId)The ID of the Data Catalog in which to create the connection.default CreateConnectionRequest.BuilderconnectionInput(Consumer<ConnectionInput.Builder> connectionInput)AConnectionInputobject defining the connection to create.CreateConnectionRequest.BuilderconnectionInput(ConnectionInput connectionInput)AConnectionInputobject defining the connection to create.CreateConnectionRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateConnectionRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateConnectionRequest.Buildertags(Map<String,String> tags)The tags you assign to the connection.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.glue.model.GlueRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
catalogId
CreateConnectionRequest.Builder catalogId(String catalogId)
The ID of the Data Catalog in which to create the connection. If none is provided, the Amazon Web Services account ID is used by default.
- Parameters:
catalogId- The ID of the Data Catalog in which to create the connection. 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.
-
connectionInput
CreateConnectionRequest.Builder connectionInput(ConnectionInput connectionInput)
A
ConnectionInputobject defining the connection to create.- Parameters:
connectionInput- AConnectionInputobject defining the connection to create.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionInput
default CreateConnectionRequest.Builder connectionInput(Consumer<ConnectionInput.Builder> connectionInput)
A
This is a convenience method that creates an instance of theConnectionInputobject defining the connection to create.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:
connectionInput(ConnectionInput)
-
tags
CreateConnectionRequest.Builder tags(Map<String,String> tags)
The tags you assign to the connection.
- Parameters:
tags- The tags you assign to the connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateConnectionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateConnectionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-