Interface GetConnectionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetConnectionResponse.Builder,
,GetConnectionResponse> DataZoneResponse.Builder
,SdkBuilder<GetConnectionResponse.Builder,
,GetConnectionResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetConnectionResponse
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetConnectionResponse.Builder
connectionCredentials
(Consumer<ConnectionCredentials.Builder> connectionCredentials) Connection credentials.connectionCredentials
(ConnectionCredentials connectionCredentials) Connection credentials.connectionId
(String connectionId) The ID of the connection.description
(String description) Connection description.The domain ID of the connection.domainUnitId
(String domainUnitId) The domain unit ID of the connection.environmentId
(String environmentId) The ID of the environment.environmentUserRole
(String environmentUserRole) The environment user role.The name of the connection.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.default GetConnectionResponse.Builder
Connection props.props
(ConnectionPropertiesOutput props) Connection props.The type of the connection.type
(ConnectionType type) The type of the connection.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
-
connectionCredentials
Connection credentials.
- Parameters:
connectionCredentials
- Connection credentials.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionCredentials
default GetConnectionResponse.Builder connectionCredentials(Consumer<ConnectionCredentials.Builder> connectionCredentials) Connection credentials.
This is a convenience method that creates an instance of theConnectionCredentials.Builder
avoiding the need to create one manually viaConnectionCredentials.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconnectionCredentials(ConnectionCredentials)
.- Parameters:
connectionCredentials
- a consumer that will call methods onConnectionCredentials.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
Connection description.
- Parameters:
description
- Connection description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainId
The domain ID of the connection.
- Parameters:
domainId
- The domain ID of the connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainUnitId
The domain unit ID of the connection.
- Parameters:
domainUnitId
- The domain unit ID of the connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environmentId
The ID of the environment.
- Parameters:
environmentId
- The ID of the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environmentUserRole
The environment user role.
- Parameters:
environmentUserRole
- The environment user role.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the connection.
- Parameters:
name
- The name 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
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
GetConnectionResponse.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.
- Parameters:
projectId
- The ID of the project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
props
Connection props.
- Parameters:
props
- Connection props.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
props
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 type of the connection.
- Parameters:
type
- The type of the connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of the connection.
- Parameters:
type
- The type of the connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-