Interface CreateOutboundConnectionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateOutboundConnectionRequest.Builder,
,CreateOutboundConnectionRequest> OpenSearchRequest.Builder
,SdkBuilder<CreateOutboundConnectionRequest.Builder,
,CreateOutboundConnectionRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateOutboundConnectionRequest
-
Method Summary
Modifier and TypeMethodDescriptionconnectionAlias
(String connectionAlias) Name of the connection.connectionMode
(String connectionMode) The connection mode.connectionMode
(ConnectionMode connectionMode) The connection mode.connectionProperties
(Consumer<ConnectionProperties.Builder> connectionProperties) TheConnectionProperties
for the outbound connection.connectionProperties
(ConnectionProperties connectionProperties) TheConnectionProperties
for the outbound connection.localDomainInfo
(Consumer<DomainInformationContainer.Builder> localDomainInfo) Name and Region of the source (local) domain.localDomainInfo
(DomainInformationContainer localDomainInfo) Name and Region of the source (local) domain.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.remoteDomainInfo
(Consumer<DomainInformationContainer.Builder> remoteDomainInfo) Name and Region of the destination (remote) domain.remoteDomainInfo
(DomainInformationContainer remoteDomainInfo) Name and Region of the destination (remote) domain.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, sdkFields
-
Method Details
-
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:
-
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:
-
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
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
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:
-
overrideConfiguration
CreateOutboundConnectionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateOutboundConnectionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-