Interface InboundConnection.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<InboundConnection.Builder,
,InboundConnection> SdkBuilder<InboundConnection.Builder,
,InboundConnection> SdkPojo
- Enclosing class:
InboundConnection
-
Method Summary
Modifier and TypeMethodDescriptionconnectionId
(String connectionId) The unique identifier of the connection.connectionMode
(String connectionMode) The connection mode.connectionMode
(ConnectionMode connectionMode) The connection mode.default InboundConnection.Builder
connectionStatus
(Consumer<InboundConnectionStatus.Builder> connectionStatus) The current status of the connection.connectionStatus
(InboundConnectionStatus connectionStatus) The current status of the connection.default InboundConnection.Builder
localDomainInfo
(Consumer<DomainInformationContainer.Builder> localDomainInfo) Information about the source (local) domain.localDomainInfo
(DomainInformationContainer localDomainInfo) Information about the source (local) domain.default InboundConnection.Builder
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.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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 InboundConnection.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
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 InboundConnection.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:
-
connectionId
The unique identifier of the connection.
- Parameters:
connectionId
- The unique identifier of the connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionStatus
The current status of the connection.
- Parameters:
connectionStatus
- The current status of the connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionStatus
default InboundConnection.Builder connectionStatus(Consumer<InboundConnectionStatus.Builder> connectionStatus) The current status of the connection.
This is a convenience method that creates an instance of theInboundConnectionStatus.Builder
avoiding the need to create one manually viaInboundConnectionStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconnectionStatus(InboundConnectionStatus)
.- Parameters:
connectionStatus
- a consumer that will call methods onInboundConnectionStatus.Builder
- 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:
-
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:
-