Interface RejectInboundCrossClusterSearchConnectionResponse.Builder
- All Superinterfaces:
 AwsResponse.Builder,Buildable,CopyableBuilder<RejectInboundCrossClusterSearchConnectionResponse.Builder,,RejectInboundCrossClusterSearchConnectionResponse> ElasticsearchResponse.Builder,SdkBuilder<RejectInboundCrossClusterSearchConnectionResponse.Builder,,RejectInboundCrossClusterSearchConnectionResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
 RejectInboundCrossClusterSearchConnectionResponse
public static interface RejectInboundCrossClusterSearchConnectionResponse.Builder
extends ElasticsearchResponse.Builder, SdkPojo, CopyableBuilder<RejectInboundCrossClusterSearchConnectionResponse.Builder,RejectInboundCrossClusterSearchConnectionResponse> 
- 
Method Summary
Modifier and TypeMethodDescriptioncrossClusterSearchConnection(Consumer<InboundCrossClusterSearchConnection.Builder> crossClusterSearchConnection) Specifies theInboundCrossClusterSearchConnectionof rejected inbound connection.crossClusterSearchConnection(InboundCrossClusterSearchConnection crossClusterSearchConnection) Specifies theInboundCrossClusterSearchConnectionof rejected inbound 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
RejectInboundCrossClusterSearchConnectionResponse.Builder crossClusterSearchConnection(InboundCrossClusterSearchConnection crossClusterSearchConnection) Specifies the
InboundCrossClusterSearchConnectionof rejected inbound connection.- Parameters:
 crossClusterSearchConnection- Specifies theInboundCrossClusterSearchConnectionof rejected inbound connection.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
crossClusterSearchConnection
default RejectInboundCrossClusterSearchConnectionResponse.Builder crossClusterSearchConnection(Consumer<InboundCrossClusterSearchConnection.Builder> crossClusterSearchConnection) Specifies the
This is a convenience method that creates an instance of theInboundCrossClusterSearchConnectionof rejected inbound connection.InboundCrossClusterSearchConnection.Builderavoiding the need to create one manually viaInboundCrossClusterSearchConnection.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocrossClusterSearchConnection(InboundCrossClusterSearchConnection).- Parameters:
 crossClusterSearchConnection- a consumer that will call methods onInboundCrossClusterSearchConnection.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 
 -