Interface CreateConnectionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateConnectionRequest.Builder,,CreateConnectionRequest> DataZoneRequest.Builder,SdkBuilder<CreateConnectionRequest.Builder,,CreateConnectionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateConnectionRequest
public static interface CreateConnectionRequest.Builder
extends DataZoneRequest.Builder, SdkPojo, CopyableBuilder<CreateConnectionRequest.Builder,CreateConnectionRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateConnectionRequest.BuilderawsLocation(Consumer<AwsLocation.Builder> awsLocation) The location where the connection is created.awsLocation(AwsLocation awsLocation) The location where the connection is created.clientToken(String clientToken) A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.description(String description) A connection description.domainIdentifier(String domainIdentifier) The ID of the domain where the connection is created.environmentIdentifier(String environmentIdentifier) The ID of the environment where the connection is created.The connection name.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default CreateConnectionRequest.BuilderThe connection props.props(ConnectionPropertiesInput props) The connection props.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.datazone.model.DataZoneRequest.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
-
awsLocation
The location where the connection is created.
- Parameters:
awsLocation- The location where the connection is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsLocation
The location where the connection is created.
This is a convenience method that creates an instance of theAwsLocation.Builderavoiding the need to create one manually viaAwsLocation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toawsLocation(AwsLocation).- Parameters:
awsLocation- a consumer that will call methods onAwsLocation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
- Parameters:
clientToken- A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A connection description.
- Parameters:
description- A connection description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainIdentifier
The ID of the domain where the connection is created.
- Parameters:
domainIdentifier- The ID of the domain where the connection is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environmentIdentifier
The ID of the environment where the connection is created.
- Parameters:
environmentIdentifier- The ID of the environment where the connection is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The connection name.
- Parameters:
name- The connection name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
props
The connection props.
- Parameters:
props- The connection props.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
props
The connection props.
This is a convenience method that creates an instance of theConnectionPropertiesInput.Builderavoiding the need to create one manually viaConnectionPropertiesInput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprops(ConnectionPropertiesInput).- Parameters:
props- a consumer that will call methods onConnectionPropertiesInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateConnectionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateConnectionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-