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
-
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 Detail
-
awsLocation
CreateConnectionRequest.Builder awsLocation(AwsLocation 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
default CreateConnectionRequest.Builder awsLocation(Consumer<AwsLocation.Builder> 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:
awsLocation(AwsLocation)
-
clientToken
CreateConnectionRequest.Builder clientToken(String 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
CreateConnectionRequest.Builder description(String 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
CreateConnectionRequest.Builder domainIdentifier(String 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
CreateConnectionRequest.Builder environmentIdentifier(String 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
CreateConnectionRequest.Builder name(String 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
CreateConnectionRequest.Builder props(ConnectionPropertiesInput 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
default CreateConnectionRequest.Builder props(Consumer<ConnectionPropertiesInput.Builder> 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:
props(ConnectionPropertiesInput)
-
overrideConfiguration
CreateConnectionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateConnectionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-