Interface ListClustersResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListClustersResponse.Builder,,ListClustersResponse> SdkBuilder<ListClustersResponse.Builder,,ListClustersResponse> SdkPojo,SdkResponse.Builder,SnowballResponse.Builder
- Enclosing class:
ListClustersResponse
@Mutable
@NotThreadSafe
public static interface ListClustersResponse.Builder
extends SnowballResponse.Builder, SdkPojo, CopyableBuilder<ListClustersResponse.Builder,ListClustersResponse>
-
Method Summary
Modifier and TypeMethodDescriptionclusterListEntries(Collection<ClusterListEntry> clusterListEntries) EachClusterListEntryobject contains a cluster's state, a cluster's ID, and other important status information.clusterListEntries(Consumer<ClusterListEntry.Builder>... clusterListEntries) EachClusterListEntryobject contains a cluster's state, a cluster's ID, and other important status information.clusterListEntries(ClusterListEntry... clusterListEntries) EachClusterListEntryobject 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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.snowball.model.SnowballResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
clusterListEntries
Each
ClusterListEntryobject contains a cluster's state, a cluster's ID, and other important status information.- Parameters:
clusterListEntries- EachClusterListEntryobject 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
ClusterListEntryobject contains a cluster's state, a cluster's ID, and other important status information.- Parameters:
clusterListEntries- EachClusterListEntryobject 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 theClusterListEntryobject contains a cluster's state, a cluster's ID, and other important status information.ClusterListEntry.Builderavoiding the need to create one manually viaClusterListEntry.builder().When the
Consumercompletes,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
NextTokenvalue in your nextClusterListEntrycall, your list of returned clusters will start from this point in the array.- Parameters:
nextToken- HTTP requests are stateless. If you use the automatically generatedNextTokenvalue in your nextClusterListEntrycall, 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.
-