Interface DeleteOutboundCrossClusterSearchConnectionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DeleteOutboundCrossClusterSearchConnectionResponse.Builder,,DeleteOutboundCrossClusterSearchConnectionResponse> ElasticsearchResponse.Builder,SdkBuilder<DeleteOutboundCrossClusterSearchConnectionResponse.Builder,,DeleteOutboundCrossClusterSearchConnectionResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DeleteOutboundCrossClusterSearchConnectionResponse
@Mutable
@NotThreadSafe
public static interface DeleteOutboundCrossClusterSearchConnectionResponse.Builder
extends ElasticsearchResponse.Builder, SdkPojo, CopyableBuilder<DeleteOutboundCrossClusterSearchConnectionResponse.Builder,DeleteOutboundCrossClusterSearchConnectionResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncrossClusterSearchConnection(Consumer<OutboundCrossClusterSearchConnection.Builder> crossClusterSearchConnection) Specifies theOutboundCrossClusterSearchConnectionof deleted outbound connection.crossClusterSearchConnection(OutboundCrossClusterSearchConnection crossClusterSearchConnection) Specifies theOutboundCrossClusterSearchConnectionof deleted outbound connection.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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
crossClusterSearchConnection
DeleteOutboundCrossClusterSearchConnectionResponse.Builder crossClusterSearchConnection(OutboundCrossClusterSearchConnection crossClusterSearchConnection) Specifies the
OutboundCrossClusterSearchConnectionof deleted outbound connection.- Parameters:
crossClusterSearchConnection- Specifies theOutboundCrossClusterSearchConnectionof deleted outbound connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
crossClusterSearchConnection
default DeleteOutboundCrossClusterSearchConnectionResponse.Builder crossClusterSearchConnection(Consumer<OutboundCrossClusterSearchConnection.Builder> crossClusterSearchConnection) Specifies the
This is a convenience method that creates an instance of theOutboundCrossClusterSearchConnectionof deleted outbound connection.OutboundCrossClusterSearchConnection.Builderavoiding the need to create one manually viaOutboundCrossClusterSearchConnection.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocrossClusterSearchConnection(OutboundCrossClusterSearchConnection).- Parameters:
crossClusterSearchConnection- a consumer that will call methods onOutboundCrossClusterSearchConnection.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-