Interface OutboundConnection.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<OutboundConnection.Builder,OutboundConnection>,SdkBuilder<OutboundConnection.Builder,OutboundConnection>,SdkPojo
- Enclosing class:
- OutboundConnection
public static interface OutboundConnection.Builder extends SdkPojo, CopyableBuilder<OutboundConnection.Builder,OutboundConnection>
-
-
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
OutboundConnection.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 OutboundConnection.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
OutboundConnection.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 OutboundConnection.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
OutboundConnection.Builder connectionId(String connectionId)
Unique identifier of the connection.
- Parameters:
connectionId- Unique identifier of the connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionAlias
OutboundConnection.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
OutboundConnection.Builder connectionStatus(OutboundConnectionStatus connectionStatus)
Status of the connection.
- Parameters:
connectionStatus- Status of the connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionStatus
default OutboundConnection.Builder connectionStatus(Consumer<OutboundConnectionStatus.Builder> connectionStatus)
Status of the connection.
This is a convenience method that creates an instance of theOutboundConnectionStatus.Builderavoiding the need to create one manually viaOutboundConnectionStatus.builder().When the
Consumercompletes,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)
-
connectionMode
OutboundConnection.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
OutboundConnection.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
OutboundConnection.Builder connectionProperties(ConnectionProperties connectionProperties)
Properties for the outbound connection.
- Parameters:
connectionProperties- Properties for the outbound connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionProperties
default OutboundConnection.Builder connectionProperties(Consumer<ConnectionProperties.Builder> connectionProperties)
Properties for the outbound connection.
This is a convenience method that creates an instance of theConnectionProperties.Builderavoiding the need to create one manually viaConnectionProperties.builder().When the
Consumercompletes,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)
-
-