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 theInboundCrossClusterSearchConnection
of rejected inbound connection.crossClusterSearchConnection
(InboundCrossClusterSearchConnection crossClusterSearchConnection) Specifies theInboundCrossClusterSearchConnection
of 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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
crossClusterSearchConnection
RejectInboundCrossClusterSearchConnectionResponse.Builder crossClusterSearchConnection(InboundCrossClusterSearchConnection crossClusterSearchConnection) Specifies the
InboundCrossClusterSearchConnection
of rejected inbound connection.- Parameters:
crossClusterSearchConnection
- Specifies theInboundCrossClusterSearchConnection
of 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 theInboundCrossClusterSearchConnection
of rejected inbound connection.InboundCrossClusterSearchConnection.Builder
avoiding the need to create one manually viaInboundCrossClusterSearchConnection.builder()
.When the
Consumer
completes,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:
-