Interface ListClustersResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListClustersResponse.Builder,
,ListClustersResponse> SdkBuilder<ListClustersResponse.Builder,
,ListClustersResponse> SdkPojo
,SdkResponse.Builder
,SnowballResponse.Builder
- Enclosing class:
ListClustersResponse
public static interface ListClustersResponse.Builder
extends SnowballResponse.Builder, SdkPojo, CopyableBuilder<ListClustersResponse.Builder,ListClustersResponse>
-
Method Summary
Modifier and TypeMethodDescriptionclusterListEntries
(Collection<ClusterListEntry> clusterListEntries) EachClusterListEntry
object contains a cluster's state, a cluster's ID, and other important status information.clusterListEntries
(Consumer<ClusterListEntry.Builder>... clusterListEntries) EachClusterListEntry
object contains a cluster's state, a cluster's ID, and other important status information.clusterListEntries
(ClusterListEntry... clusterListEntries) EachClusterListEntry
object contains a cluster's state, a cluster's ID, and other important status information.HTTP requests are stateless.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
Methods inherited from interface software.amazon.awssdk.services.snowball.model.SnowballResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
clusterListEntries
Each
ClusterListEntry
object contains a cluster's state, a cluster's ID, and other important status information.- Parameters:
clusterListEntries
- EachClusterListEntry
object contains a cluster's state, a cluster's ID, and other important status information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterListEntries
Each
ClusterListEntry
object contains a cluster's state, a cluster's ID, and other important status information.- Parameters:
clusterListEntries
- EachClusterListEntry
object contains a cluster's state, a cluster's ID, and other important status information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterListEntries
ListClustersResponse.Builder clusterListEntries(Consumer<ClusterListEntry.Builder>... clusterListEntries) Each
This is a convenience method that creates an instance of theClusterListEntry
object contains a cluster's state, a cluster's ID, and other important status information.ClusterListEntry.Builder
avoiding the need to create one manually viaClusterListEntry.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toclusterListEntries(List<ClusterListEntry>)
.- Parameters:
clusterListEntries
- a consumer that will call methods onClusterListEntry.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
HTTP requests are stateless. If you use the automatically generated
NextToken
value in your nextClusterListEntry
call, your list of returned clusters will start from this point in the array.- Parameters:
nextToken
- HTTP requests are stateless. If you use the automatically generatedNextToken
value in your nextClusterListEntry
call, your list of returned clusters will start from this point in the array.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-