Interface CreateConnectionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateConnectionResponse.Builder,
,CreateConnectionResponse> DataZoneResponse.Builder
,SdkBuilder<CreateConnectionResponse.Builder,
,CreateConnectionResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateConnectionResponse
-
Method Summary
Modifier and TypeMethodDescriptionconnectionId
(String connectionId) The ID of the connection.description
(String description) The connection description.The ID of the domain where the connection is created.domainUnitId
(String domainUnitId) The ID of the domain unit where the connection is created.environmentId
(String environmentId) The ID of the environment where the connection is created.The connection name.physicalEndpoints
(Collection<PhysicalEndpoint> physicalEndpoints) The physical endpoints of the connection.physicalEndpoints
(Consumer<PhysicalEndpoint.Builder>... physicalEndpoints) The physical endpoints of the connection.physicalEndpoints
(PhysicalEndpoint... physicalEndpoints) The physical endpoints of the connection.The ID of the project where the connection is created.default CreateConnectionResponse.Builder
The connection props.props
(ConnectionPropertiesOutput props) The connection props.The connection type.type
(ConnectionType type) The connection type.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 Details
-
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
The connection description.
- Parameters:
description
- The connection description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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
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
The connection name.
- Parameters:
name
- The connection name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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.Builder
avoiding the need to create one manually viaPhysicalEndpoint.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tophysicalEndpoints(List<PhysicalEndpoint>)
.- 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:
-
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
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 theConnectionPropertiesOutput.Builder
avoiding the need to create one manually viaConnectionPropertiesOutput.builder()
.When the
Consumer
completes,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:
-
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:
-
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:
-