Interface CreateOutboundConnectionRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateOutboundConnectionRequest.Builder,CreateOutboundConnectionRequest>
,OpenSearchRequest.Builder
,SdkBuilder<CreateOutboundConnectionRequest.Builder,CreateOutboundConnectionRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- CreateOutboundConnectionRequest
public static interface CreateOutboundConnectionRequest.Builder extends OpenSearchRequest.Builder, SdkPojo, CopyableBuilder<CreateOutboundConnectionRequest.Builder,CreateOutboundConnectionRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.opensearch.model.OpenSearchRequest.Builder
build
-
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
CreateOutboundConnectionRequest.Builder localDomainInfo(DomainInformationContainer localDomainInfo)
Name and Region of the source (local) domain.
- Parameters:
localDomainInfo
- Name and Region of the source (local) domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localDomainInfo
default CreateOutboundConnectionRequest.Builder localDomainInfo(Consumer<DomainInformationContainer.Builder> localDomainInfo)
Name and Region of 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
CreateOutboundConnectionRequest.Builder remoteDomainInfo(DomainInformationContainer remoteDomainInfo)
Name and Region of the destination (remote) domain.
- Parameters:
remoteDomainInfo
- Name and Region of the destination (remote) domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
remoteDomainInfo
default CreateOutboundConnectionRequest.Builder remoteDomainInfo(Consumer<DomainInformationContainer.Builder> remoteDomainInfo)
Name and Region of 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
CreateOutboundConnectionRequest.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.
-
connectionMode
CreateOutboundConnectionRequest.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
CreateOutboundConnectionRequest.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
CreateOutboundConnectionRequest.Builder connectionProperties(ConnectionProperties connectionProperties)
The
ConnectionProperties
for the outbound connection.- Parameters:
connectionProperties
- TheConnectionProperties
for the outbound connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionProperties
default CreateOutboundConnectionRequest.Builder connectionProperties(Consumer<ConnectionProperties.Builder> connectionProperties)
The
This is a convenience method that creates an instance of theConnectionProperties
for the outbound 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)
-
overrideConfiguration
CreateOutboundConnectionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
CreateOutboundConnectionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-