Interface CreateOutboundCrossClusterSearchConnectionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateOutboundCrossClusterSearchConnectionResponse.Builder,,CreateOutboundCrossClusterSearchConnectionResponse> ElasticsearchResponse.Builder,SdkBuilder<CreateOutboundCrossClusterSearchConnectionResponse.Builder,,CreateOutboundCrossClusterSearchConnectionResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateOutboundCrossClusterSearchConnectionResponse
-
Method Summary
Modifier and TypeMethodDescriptionconnectionAlias(String connectionAlias) Specifies the connection alias provided during the create connection request.connectionStatus(Consumer<OutboundCrossClusterSearchConnectionStatus.Builder> connectionStatus) Specifies theOutboundCrossClusterSearchConnectionStatusfor the newly created connection.connectionStatus(OutboundCrossClusterSearchConnectionStatus connectionStatus) Specifies theOutboundCrossClusterSearchConnectionStatusfor the newly created connection.crossClusterSearchConnectionId(String crossClusterSearchConnectionId) Unique id for the created outbound connection, which is used for subsequent operations on connection.destinationDomainInfo(Consumer<DomainInformation.Builder> destinationDomainInfo) Specifies theDomainInformationfor the destination Elasticsearch domain.destinationDomainInfo(DomainInformation destinationDomainInfo) Specifies theDomainInformationfor the destination Elasticsearch domain.sourceDomainInfo(Consumer<DomainInformation.Builder> sourceDomainInfo) Specifies theDomainInformationfor the source Elasticsearch domain.sourceDomainInfo(DomainInformation sourceDomainInfo) Specifies theDomainInformationfor the source Elasticsearch domain.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.elasticsearch.model.ElasticsearchResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
sourceDomainInfo
CreateOutboundCrossClusterSearchConnectionResponse.Builder sourceDomainInfo(DomainInformation sourceDomainInfo) Specifies the
DomainInformationfor the source Elasticsearch domain.- Parameters:
sourceDomainInfo- Specifies theDomainInformationfor the source Elasticsearch domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceDomainInfo
default CreateOutboundCrossClusterSearchConnectionResponse.Builder sourceDomainInfo(Consumer<DomainInformation.Builder> sourceDomainInfo) Specifies the
This is a convenience method that creates an instance of theDomainInformationfor the source Elasticsearch domain.DomainInformation.Builderavoiding the need to create one manually viaDomainInformation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosourceDomainInfo(DomainInformation).- Parameters:
sourceDomainInfo- a consumer that will call methods onDomainInformation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
destinationDomainInfo
CreateOutboundCrossClusterSearchConnectionResponse.Builder destinationDomainInfo(DomainInformation destinationDomainInfo) Specifies the
DomainInformationfor the destination Elasticsearch domain.- Parameters:
destinationDomainInfo- Specifies theDomainInformationfor the destination Elasticsearch domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationDomainInfo
default CreateOutboundCrossClusterSearchConnectionResponse.Builder destinationDomainInfo(Consumer<DomainInformation.Builder> destinationDomainInfo) Specifies the
This is a convenience method that creates an instance of theDomainInformationfor the destination Elasticsearch domain.DomainInformation.Builderavoiding the need to create one manually viaDomainInformation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todestinationDomainInfo(DomainInformation).- Parameters:
destinationDomainInfo- a consumer that will call methods onDomainInformation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
connectionAlias
Specifies the connection alias provided during the create connection request.
- Parameters:
connectionAlias- Specifies the connection alias provided during the create connection request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionStatus
CreateOutboundCrossClusterSearchConnectionResponse.Builder connectionStatus(OutboundCrossClusterSearchConnectionStatus connectionStatus) Specifies the
OutboundCrossClusterSearchConnectionStatusfor the newly created connection.- Parameters:
connectionStatus- Specifies theOutboundCrossClusterSearchConnectionStatusfor the newly created connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionStatus
default CreateOutboundCrossClusterSearchConnectionResponse.Builder connectionStatus(Consumer<OutboundCrossClusterSearchConnectionStatus.Builder> connectionStatus) Specifies the
This is a convenience method that creates an instance of theOutboundCrossClusterSearchConnectionStatusfor the newly created connection.OutboundCrossClusterSearchConnectionStatus.Builderavoiding the need to create one manually viaOutboundCrossClusterSearchConnectionStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconnectionStatus(OutboundCrossClusterSearchConnectionStatus).- Parameters:
connectionStatus- a consumer that will call methods onOutboundCrossClusterSearchConnectionStatus.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
crossClusterSearchConnectionId
CreateOutboundCrossClusterSearchConnectionResponse.Builder crossClusterSearchConnectionId(String crossClusterSearchConnectionId) Unique id for the created outbound connection, which is used for subsequent operations on connection.
- Parameters:
crossClusterSearchConnectionId- Unique id for the created outbound connection, which is used for subsequent operations on connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-