Interface OutboundConnection.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<OutboundConnection.Builder,,OutboundConnection> SdkBuilder<OutboundConnection.Builder,,OutboundConnection> SdkPojo
- Enclosing class:
OutboundConnection
-
Method Summary
Modifier and TypeMethodDescriptionconnectionAlias(String connectionAlias) Name of the connection.connectionId(String connectionId) Unique identifier of the connection.connectionMode(String connectionMode) The connection mode.connectionMode(ConnectionMode connectionMode) The connection mode.default OutboundConnection.BuilderconnectionProperties(Consumer<ConnectionProperties.Builder> connectionProperties) Properties for the outbound connection.connectionProperties(ConnectionProperties connectionProperties) Properties for the outbound connection.default OutboundConnection.BuilderconnectionStatus(Consumer<OutboundConnectionStatus.Builder> connectionStatus) Status of the connection.connectionStatus(OutboundConnectionStatus connectionStatus) Status of the connection.default OutboundConnection.BuilderlocalDomainInfo(Consumer<DomainInformationContainer.Builder> localDomainInfo) Information about the source (local) domain.localDomainInfo(DomainInformationContainer localDomainInfo) Information about the source (local) domain.default OutboundConnection.BuilderremoteDomainInfo(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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 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:
-
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:
-
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
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
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:
-
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
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:
-