Interface RejectInboundCrossClusterSearchConnectionResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<RejectInboundCrossClusterSearchConnectionResponse.Builder,RejectInboundCrossClusterSearchConnectionResponse>,ElasticsearchResponse.Builder,SdkBuilder<RejectInboundCrossClusterSearchConnectionResponse.Builder,RejectInboundCrossClusterSearchConnectionResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- RejectInboundCrossClusterSearchConnectionResponse
@Mutable @NotThreadSafe public static interface RejectInboundCrossClusterSearchConnectionResponse.Builder extends ElasticsearchResponse.Builder, SdkPojo, CopyableBuilder<RejectInboundCrossClusterSearchConnectionResponse.Builder,RejectInboundCrossClusterSearchConnectionResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default RejectInboundCrossClusterSearchConnectionResponse.BuildercrossClusterSearchConnection(Consumer<InboundCrossClusterSearchConnection.Builder> crossClusterSearchConnection)Specifies theInboundCrossClusterSearchConnectionof rejected inbound connection.RejectInboundCrossClusterSearchConnectionResponse.BuildercrossClusterSearchConnection(InboundCrossClusterSearchConnection crossClusterSearchConnection)Specifies theInboundCrossClusterSearchConnectionof rejected inbound connection.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.elasticsearch.model.ElasticsearchResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
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:
crossClusterSearchConnection(InboundCrossClusterSearchConnection)
-
-