Interface ListConnectionsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListConnectionsResponse.Builder,ListConnectionsResponse>,DataZoneResponse.Builder,SdkBuilder<ListConnectionsResponse.Builder,ListConnectionsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListConnectionsResponse
public static interface ListConnectionsResponse.Builder extends DataZoneResponse.Builder, SdkPojo, CopyableBuilder<ListConnectionsResponse.Builder,ListConnectionsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListConnectionsResponse.Builderitems(Collection<ConnectionSummary> items)The results of the ListConnections action.ListConnectionsResponse.Builderitems(Consumer<ConnectionSummary.Builder>... items)The results of the ListConnections action.ListConnectionsResponse.Builderitems(ConnectionSummary... items)The results of the ListConnections action.ListConnectionsResponse.BuildernextToken(String 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.-
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 Detail
-
items
ListConnectionsResponse.Builder items(Collection<ConnectionSummary> 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
ListConnectionsResponse.Builder items(ConnectionSummary... 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
ListConnectionsResponse.Builder items(Consumer<ConnectionSummary.Builder>... items)
The results of the ListConnections action.
This is a convenience method that creates an instance of theConnectionSummary.Builderavoiding the need to create one manually viaConnectionSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#items(List.) - 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:
#items(java.util.Collection)
-
nextToken
ListConnectionsResponse.Builder nextToken(String 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.
-
-