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) TheConnectionPropertiesfor the outbound connection.connectionProperties(ConnectionProperties connectionProperties) TheConnectionPropertiesfor 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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.opensearch.model.OpenSearchRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.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
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.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:
-
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
ConnectionPropertiesfor the outbound connection.- Parameters:
connectionProperties- TheConnectionPropertiesfor 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 theConnectionPropertiesfor the outbound connection.ConnectionProperties.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:
-
overrideConfiguration
CreateOutboundConnectionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-