Interface CreateOutboundConnectionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateOutboundConnectionResponse.Builder,
,CreateOutboundConnectionResponse> OpenSearchResponse.Builder
,SdkBuilder<CreateOutboundConnectionResponse.Builder,
,CreateOutboundConnectionResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateOutboundConnectionResponse
-
Method Summary
Modifier and TypeMethodDescriptionconnectionAlias
(String connectionAlias) Name of the connection.connectionId
(String connectionId) The unique identifier for the created outbound connection, which is used for subsequent operations on the connection.connectionMode
(String connectionMode) The connection mode.connectionMode
(ConnectionMode connectionMode) The connection mode.connectionProperties
(Consumer<ConnectionProperties.Builder> connectionProperties) TheConnectionProperties
for the newly created connection.connectionProperties
(ConnectionProperties connectionProperties) TheConnectionProperties
for the newly created connection.connectionStatus
(Consumer<OutboundConnectionStatus.Builder> connectionStatus) The status of the connection.connectionStatus
(OutboundConnectionStatus connectionStatus) The status of the connection.localDomainInfo
(Consumer<DomainInformationContainer.Builder> localDomainInfo) Information about the source (local) domain.localDomainInfo
(DomainInformationContainer localDomainInfo) Information about the source (local) domain.remoteDomainInfo
(Consumer<DomainInformationContainer.Builder> remoteDomainInfo) Information about the destination (remote) domain.remoteDomainInfo
(DomainInformationContainer remoteDomainInfo) Information about the destination (remote) domain.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.opensearch.model.OpenSearchResponse.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
localDomainInfo
CreateOutboundConnectionResponse.Builder localDomainInfo(DomainInformationContainer localDomainInfo) Information about the source (local) domain.
- Parameters:
localDomainInfo
- Information about the source (local) domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localDomainInfo
default CreateOutboundConnectionResponse.Builder localDomainInfo(Consumer<DomainInformationContainer.Builder> localDomainInfo) Information about the source (local) domain.
This is a convenience method that creates an instance of theDomainInformationContainer.Builder
avoiding the need to create one manually viaDomainInformationContainer.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolocalDomainInfo(DomainInformationContainer)
.- Parameters:
localDomainInfo
- a consumer that will call methods onDomainInformationContainer.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
remoteDomainInfo
CreateOutboundConnectionResponse.Builder remoteDomainInfo(DomainInformationContainer remoteDomainInfo) Information about the destination (remote) domain.
- Parameters:
remoteDomainInfo
- Information about the destination (remote) domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
remoteDomainInfo
default CreateOutboundConnectionResponse.Builder remoteDomainInfo(Consumer<DomainInformationContainer.Builder> remoteDomainInfo) Information about the destination (remote) domain.
This is a convenience method that creates an instance of theDomainInformationContainer.Builder
avoiding the need to create one manually viaDomainInformationContainer.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toremoteDomainInfo(DomainInformationContainer)
.- Parameters:
remoteDomainInfo
- a consumer that will call methods onDomainInformationContainer.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
connectionAlias
Name of the connection.
- Parameters:
connectionAlias
- Name of the connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionStatus
CreateOutboundConnectionResponse.Builder connectionStatus(OutboundConnectionStatus connectionStatus) The status of the connection.
- Parameters:
connectionStatus
- The status of the connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionStatus
default CreateOutboundConnectionResponse.Builder connectionStatus(Consumer<OutboundConnectionStatus.Builder> connectionStatus) The status of the connection.
This is a convenience method that creates an instance of theOutboundConnectionStatus.Builder
avoiding the need to create one manually viaOutboundConnectionStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconnectionStatus(OutboundConnectionStatus)
.- Parameters:
connectionStatus
- a consumer that will call methods onOutboundConnectionStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
connectionId
The unique identifier for the created outbound connection, which is used for subsequent operations on the connection.
- Parameters:
connectionId
- The unique identifier for the created outbound connection, which is used for subsequent operations on the connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionMode
The connection mode.
- Parameters:
connectionMode
- The connection mode.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
connectionMode
The connection mode.
- Parameters:
connectionMode
- The connection mode.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
connectionProperties
CreateOutboundConnectionResponse.Builder connectionProperties(ConnectionProperties connectionProperties) The
ConnectionProperties
for the newly created connection.- Parameters:
connectionProperties
- TheConnectionProperties
for the newly created connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionProperties
default CreateOutboundConnectionResponse.Builder connectionProperties(Consumer<ConnectionProperties.Builder> connectionProperties) The
This is a convenience method that creates an instance of theConnectionProperties
for the newly created connection.ConnectionProperties.Builder
avoiding the need to create one manually viaConnectionProperties.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconnectionProperties(ConnectionProperties)
.- Parameters:
connectionProperties
- a consumer that will call methods onConnectionProperties.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-