Interface DescribeOutboundConnectionsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeOutboundConnectionsResponse.Builder,DescribeOutboundConnectionsResponse>,OpenSearchResponse.Builder,SdkBuilder<DescribeOutboundConnectionsResponse.Builder,DescribeOutboundConnectionsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeOutboundConnectionsResponse
public static interface DescribeOutboundConnectionsResponse.Builder extends OpenSearchResponse.Builder, SdkPojo, CopyableBuilder<DescribeOutboundConnectionsResponse.Builder,DescribeOutboundConnectionsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeOutboundConnectionsResponse.Builderconnections(Collection<OutboundConnection> connections)List of outbound connections that match the filter criteria.DescribeOutboundConnectionsResponse.Builderconnections(Consumer<OutboundConnection.Builder>... connections)List of outbound connections that match the filter criteria.DescribeOutboundConnectionsResponse.Builderconnections(OutboundConnection... connections)List of outbound connections that match the filter criteria.DescribeOutboundConnectionsResponse.BuildernextToken(String nextToken)WhennextTokenis returned, there are more results available.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.opensearch.model.OpenSearchResponse.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
-
connections
DescribeOutboundConnectionsResponse.Builder connections(Collection<OutboundConnection> connections)
List of outbound connections that match the filter criteria.
- Parameters:
connections- List of outbound connections that match the filter criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connections
DescribeOutboundConnectionsResponse.Builder connections(OutboundConnection... connections)
List of outbound connections that match the filter criteria.
- Parameters:
connections- List of outbound connections that match the filter criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connections
DescribeOutboundConnectionsResponse.Builder connections(Consumer<OutboundConnection.Builder>... connections)
List of outbound connections that match the filter criteria.
This is a convenience method that creates an instance of theOutboundConnection.Builderavoiding the need to create one manually viaOutboundConnection.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#connections(List.) - Parameters:
connections- a consumer that will call methods onOutboundConnection.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#connections(java.util.Collection)
-
nextToken
DescribeOutboundConnectionsResponse.Builder nextToken(String nextToken)
When
nextTokenis returned, there are more results available. The value ofnextTokenis a unique pagination token for each page. Send the request again using the returned token to retrieve the next page.- Parameters:
nextToken- WhennextTokenis returned, there are more results available. The value ofnextTokenis a unique pagination token for each page. Send the request again using the returned token to retrieve the next page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-