Interface CreateConnectionResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateConnectionResponse.Builder,CreateConnectionResponse>,DataZoneResponse.Builder,SdkBuilder<CreateConnectionResponse.Builder,CreateConnectionResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateConnectionResponse
public static interface CreateConnectionResponse.Builder extends DataZoneResponse.Builder, SdkPojo, CopyableBuilder<CreateConnectionResponse.Builder,CreateConnectionResponse>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.datazone.model.DataZoneResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
connectionId
CreateConnectionResponse.Builder connectionId(String connectionId)
The ID of the connection.
- Parameters:
connectionId- The ID of the connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
CreateConnectionResponse.Builder description(String description)
The connection description.
- Parameters:
description- The connection description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainId
CreateConnectionResponse.Builder domainId(String domainId)
The ID of the domain where the connection is created.
- Parameters:
domainId- 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.
-
domainUnitId
CreateConnectionResponse.Builder domainUnitId(String domainUnitId)
The ID of the domain unit where the connection is created.
- Parameters:
domainUnitId- The ID of the domain unit where the connection is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environmentId
CreateConnectionResponse.Builder environmentId(String environmentId)
The ID of the environment where the connection is created.
- Parameters:
environmentId- 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
CreateConnectionResponse.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.
-
physicalEndpoints
CreateConnectionResponse.Builder physicalEndpoints(Collection<PhysicalEndpoint> physicalEndpoints)
The physical endpoints of the connection.
- Parameters:
physicalEndpoints- The physical endpoints of the connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
physicalEndpoints
CreateConnectionResponse.Builder physicalEndpoints(PhysicalEndpoint... physicalEndpoints)
The physical endpoints of the connection.
- Parameters:
physicalEndpoints- The physical endpoints of the connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
physicalEndpoints
CreateConnectionResponse.Builder physicalEndpoints(Consumer<PhysicalEndpoint.Builder>... physicalEndpoints)
The physical endpoints of the connection.
This is a convenience method that creates an instance of thePhysicalEndpoint.Builderavoiding the need to create one manually viaPhysicalEndpoint.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#physicalEndpoints(List.) - Parameters:
physicalEndpoints- a consumer that will call methods onPhysicalEndpoint.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#physicalEndpoints(java.util.Collection)
-
projectId
CreateConnectionResponse.Builder projectId(String projectId)
The ID of the project where the connection is created.
- Parameters:
projectId- The ID of the project where the connection is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
props
CreateConnectionResponse.Builder props(ConnectionPropertiesOutput 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 CreateConnectionResponse.Builder props(Consumer<ConnectionPropertiesOutput.Builder> props)
The connection props.
This is a convenience method that creates an instance of theConnectionPropertiesOutput.Builderavoiding the need to create one manually viaConnectionPropertiesOutput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprops(ConnectionPropertiesOutput).- Parameters:
props- a consumer that will call methods onConnectionPropertiesOutput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
props(ConnectionPropertiesOutput)
-
type
CreateConnectionResponse.Builder type(String type)
The connection type.
- Parameters:
type- The connection type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ConnectionType,ConnectionType
-
type
CreateConnectionResponse.Builder type(ConnectionType type)
The connection type.
- Parameters:
type- The connection type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ConnectionType,ConnectionType
-
-