Interface DescribeOutboundCrossClusterSearchConnectionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeOutboundCrossClusterSearchConnectionsResponse.Builder,
,DescribeOutboundCrossClusterSearchConnectionsResponse> ElasticsearchResponse.Builder
,SdkBuilder<DescribeOutboundCrossClusterSearchConnectionsResponse.Builder,
,DescribeOutboundCrossClusterSearchConnectionsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeOutboundCrossClusterSearchConnectionsResponse
public static interface DescribeOutboundCrossClusterSearchConnectionsResponse.Builder
extends ElasticsearchResponse.Builder, SdkPojo, CopyableBuilder<DescribeOutboundCrossClusterSearchConnectionsResponse.Builder,DescribeOutboundCrossClusterSearchConnectionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncrossClusterSearchConnections
(Collection<OutboundCrossClusterSearchConnection> crossClusterSearchConnections) Consists of list ofOutboundCrossClusterSearchConnection
matching the specified filter criteria.crossClusterSearchConnections
(Consumer<OutboundCrossClusterSearchConnection.Builder>... crossClusterSearchConnections) Consists of list ofOutboundCrossClusterSearchConnection
matching the specified filter criteria.crossClusterSearchConnections
(OutboundCrossClusterSearchConnection... crossClusterSearchConnections) Consists of list ofOutboundCrossClusterSearchConnection
matching the specified filter criteria.If more results are available and NextToken is present, make the next request to the same API with the received NextToken to paginate the remaining results.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
-
crossClusterSearchConnections
DescribeOutboundCrossClusterSearchConnectionsResponse.Builder crossClusterSearchConnections(Collection<OutboundCrossClusterSearchConnection> crossClusterSearchConnections) Consists of list of
OutboundCrossClusterSearchConnection
matching the specified filter criteria.- Parameters:
crossClusterSearchConnections
- Consists of list ofOutboundCrossClusterSearchConnection
matching the specified filter criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
crossClusterSearchConnections
DescribeOutboundCrossClusterSearchConnectionsResponse.Builder crossClusterSearchConnections(OutboundCrossClusterSearchConnection... crossClusterSearchConnections) Consists of list of
OutboundCrossClusterSearchConnection
matching the specified filter criteria.- Parameters:
crossClusterSearchConnections
- Consists of list ofOutboundCrossClusterSearchConnection
matching the specified filter criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
crossClusterSearchConnections
DescribeOutboundCrossClusterSearchConnectionsResponse.Builder crossClusterSearchConnections(Consumer<OutboundCrossClusterSearchConnection.Builder>... crossClusterSearchConnections) Consists of list of
This is a convenience method that creates an instance of theOutboundCrossClusterSearchConnection
matching the specified filter criteria.OutboundCrossClusterSearchConnection.Builder
avoiding the need to create one manually viaOutboundCrossClusterSearchConnection.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocrossClusterSearchConnections(List<OutboundCrossClusterSearchConnection>)
.- Parameters:
crossClusterSearchConnections
- 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:
-
nextToken
If more results are available and NextToken is present, make the next request to the same API with the received NextToken to paginate the remaining results.
- Parameters:
nextToken
- If more results are available and NextToken is present, make the next request to the same API with the received NextToken to paginate the remaining results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-