Interface GetConnectionResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetConnectionResponse.Builder,GetConnectionResponse>,DataZoneResponse.Builder,SdkBuilder<GetConnectionResponse.Builder,GetConnectionResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetConnectionResponse
public static interface GetConnectionResponse.Builder extends DataZoneResponse.Builder, SdkPojo, CopyableBuilder<GetConnectionResponse.Builder,GetConnectionResponse>
-
-
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
-
connectionCredentials
GetConnectionResponse.Builder connectionCredentials(ConnectionCredentials 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.Builderavoiding the need to create one manually viaConnectionCredentials.builder().When the
Consumercompletes,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:
connectionCredentials(ConnectionCredentials)
-
connectionId
GetConnectionResponse.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
GetConnectionResponse.Builder description(String description)
Connection description.
- Parameters:
description- Connection description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainId
GetConnectionResponse.Builder domainId(String 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
GetConnectionResponse.Builder domainUnitId(String 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
GetConnectionResponse.Builder environmentId(String 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
GetConnectionResponse.Builder environmentUserRole(String 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
GetConnectionResponse.Builder name(String 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
GetConnectionResponse.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
GetConnectionResponse.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
GetConnectionResponse.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
GetConnectionResponse.Builder projectId(String 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
GetConnectionResponse.Builder props(ConnectionPropertiesOutput props)
Connection props.
- Parameters:
props- Connection props.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
props
default GetConnectionResponse.Builder props(Consumer<ConnectionPropertiesOutput.Builder> props)
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
GetConnectionResponse.Builder type(String 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:
ConnectionType,ConnectionType
-
type
GetConnectionResponse.Builder type(ConnectionType 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:
ConnectionType,ConnectionType
-
-