Interface ListConnectionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListConnectionsResponse.Builder,
,ListConnectionsResponse> DataZoneResponse.Builder
,SdkBuilder<ListConnectionsResponse.Builder,
,ListConnectionsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListConnectionsResponse
@Mutable
@NotThreadSafe
public static interface ListConnectionsResponse.Builder
extends DataZoneResponse.Builder, SdkPojo, CopyableBuilder<ListConnectionsResponse.Builder,ListConnectionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionitems
(Collection<ConnectionSummary> items) The results of the ListConnections action.items
(Consumer<ConnectionSummary.Builder>... items) The results of the ListConnections action.items
(ConnectionSummary... items) The results of the ListConnections action.When the number of connections is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of connections, the response includes a pagination token named NextToken.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.datazone.model.DataZoneResponse.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 Details
-
items
The results of the ListConnections action.
- Parameters:
items
- The results of the ListConnections action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The results of the ListConnections action.
- Parameters:
items
- The results of the ListConnections action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The results of the ListConnections action.
This is a convenience method that creates an instance of theConnectionSummary.Builder
avoiding the need to create one manually viaConnectionSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toitems(List<ConnectionSummary>)
.- Parameters:
items
- a consumer that will call methods onConnectionSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
When the number of connections is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of connections, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListConnections to list the next set of connections.
- Parameters:
nextToken
- When the number of connections is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of connections, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListConnections to list the next set of connections.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-