Interface InboundConnection.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<InboundConnection.Builder,InboundConnection>,SdkBuilder<InboundConnection.Builder,InboundConnection>,SdkPojo
- Enclosing class:
- InboundConnection
public static interface InboundConnection.Builder extends SdkPojo, CopyableBuilder<InboundConnection.Builder,InboundConnection>
-
-
Method Summary
-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
localDomainInfo
InboundConnection.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 InboundConnection.Builder localDomainInfo(Consumer<DomainInformationContainer.Builder> localDomainInfo)
Information about the source (local) domain.
This is a convenience method that creates an instance of theDomainInformationContainer.Builderavoiding the need to create one manually viaDomainInformationContainer.builder().When the
Consumercompletes,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
InboundConnection.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 InboundConnection.Builder remoteDomainInfo(Consumer<DomainInformationContainer.Builder> remoteDomainInfo)
Information about the destination (remote) domain.
This is a convenience method that creates an instance of theDomainInformationContainer.Builderavoiding the need to create one manually viaDomainInformationContainer.builder().When the
Consumercompletes,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)
-
connectionId
InboundConnection.Builder connectionId(String 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
InboundConnection.Builder connectionStatus(InboundConnectionStatus 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.Builderavoiding the need to create one manually viaInboundConnectionStatus.builder().When the
Consumercompletes,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:
connectionStatus(InboundConnectionStatus)
-
connectionMode
InboundConnection.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
InboundConnection.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
-
-