Interface DescribeInboundConnectionsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeInboundConnectionsResponse.Builder,DescribeInboundConnectionsResponse>
,OpenSearchResponse.Builder
,SdkBuilder<DescribeInboundConnectionsResponse.Builder,DescribeInboundConnectionsResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- DescribeInboundConnectionsResponse
public static interface DescribeInboundConnectionsResponse.Builder extends OpenSearchResponse.Builder, SdkPojo, CopyableBuilder<DescribeInboundConnectionsResponse.Builder,DescribeInboundConnectionsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeInboundConnectionsResponse.Builder
connections(Collection<InboundConnection> connections)
List of inbound connections.DescribeInboundConnectionsResponse.Builder
connections(Consumer<InboundConnection.Builder>... connections)
List of inbound connections.DescribeInboundConnectionsResponse.Builder
connections(InboundConnection... connections)
List of inbound connections.DescribeInboundConnectionsResponse.Builder
nextToken(String nextToken)
WhennextToken
is 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
DescribeInboundConnectionsResponse.Builder connections(Collection<InboundConnection> connections)
List of inbound connections.
- Parameters:
connections
- List of inbound connections.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connections
DescribeInboundConnectionsResponse.Builder connections(InboundConnection... connections)
List of inbound connections.
- Parameters:
connections
- List of inbound connections.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connections
DescribeInboundConnectionsResponse.Builder connections(Consumer<InboundConnection.Builder>... connections)
List of inbound connections.
This is a convenience method that creates an instance of theInboundConnection.Builder
avoiding the need to create one manually viaInboundConnection.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#connections(List
.) - Parameters:
connections
- a consumer that will call methods onInboundConnection.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#connections(java.util.Collection
)
-
nextToken
DescribeInboundConnectionsResponse.Builder nextToken(String nextToken)
When
nextToken
is returned, there are more results available. The value ofnextToken
is a unique pagination token for each page. Send the request again using the returned token to retrieve the next page.- Parameters:
nextToken
- WhennextToken
is returned, there are more results available. The value ofnextToken
is 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.
-
-