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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListClustersResponse.BuilderclusterListEntries(Collection<ClusterListEntry> clusterListEntries)EachClusterListEntryobject contains a cluster's state, a cluster's ID, and other important status information.ListClustersResponse.BuilderclusterListEntries(Consumer<ClusterListEntry.Builder>... clusterListEntries)EachClusterListEntryobject contains a cluster's state, a cluster's ID, and other important status information.ListClustersResponse.BuilderclusterListEntries(ClusterListEntry... clusterListEntries)EachClusterListEntryobject contains a cluster's state, a cluster's ID, and other important status information.ListClustersResponse.BuildernextToken(String nextToken)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, sdkFieldNameToField, 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 Detail
-
clusterListEntries
ListClustersResponse.Builder clusterListEntries(Collection<ClusterListEntry> 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(ClusterListEntry... 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 to#clusterListEntries(List.) - 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:
#clusterListEntries(java.util.Collection)
-
nextToken
ListClustersResponse.Builder nextToken(String 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.
-
-