Interface CreateOutboundConnectionResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateOutboundConnectionResponse.Builder,CreateOutboundConnectionResponse>
,OpenSearchResponse.Builder
,SdkBuilder<CreateOutboundConnectionResponse.Builder,CreateOutboundConnectionResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- CreateOutboundConnectionResponse
public static interface CreateOutboundConnectionResponse.Builder extends OpenSearchResponse.Builder, SdkPojo, CopyableBuilder<CreateOutboundConnectionResponse.Builder,CreateOutboundConnectionResponse>
-
-
Method Summary
-
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 Detail
-
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:
localDomainInfo(DomainInformationContainer)
-
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:
remoteDomainInfo(DomainInformationContainer)
-
connectionAlias
CreateOutboundConnectionResponse.Builder connectionAlias(String 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:
connectionStatus(OutboundConnectionStatus)
-
connectionId
CreateOutboundConnectionResponse.Builder connectionId(String 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
CreateOutboundConnectionResponse.Builder connectionMode(String 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
,ConnectionMode
-
connectionMode
CreateOutboundConnectionResponse.Builder connectionMode(ConnectionMode 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
,ConnectionMode
-
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:
connectionProperties(ConnectionProperties)
-
-