Interface CreateConnectionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateConnectionRequest.Builder,
,CreateConnectionRequest> DataZoneRequest.Builder
,SdkBuilder<CreateConnectionRequest.Builder,
,CreateConnectionRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateConnectionRequest
@Mutable
@NotThreadSafe
public static interface CreateConnectionRequest.Builder
extends DataZoneRequest.Builder, SdkPojo, CopyableBuilder<CreateConnectionRequest.Builder,CreateConnectionRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateConnectionRequest.Builder
awsLocation
(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.Builder
The connection props.props
(ConnectionPropertiesInput props) The connection props.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.datazone.model.DataZoneRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods 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.Builder
avoiding the need to create one manually viaAwsLocation.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaConnectionPropertiesInput.builder()
.When the
Consumer
completes,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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-