@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListClustersResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ListClustersResult() |
| Modifier and Type | Method and Description |
|---|---|
ListClustersResult |
clone() |
boolean |
equals(Object obj) |
List<ClusterSummary> |
getClusterSummaries()
The summaries of listed SageMaker HyperPod clusters.
|
String |
getNextToken()
If the result of the previous
ListClusters request was truncated, the response includes a
NextToken. |
int |
hashCode() |
void |
setClusterSummaries(Collection<ClusterSummary> clusterSummaries)
The summaries of listed SageMaker HyperPod clusters.
|
void |
setNextToken(String nextToken)
If the result of the previous
ListClusters request was truncated, the response includes a
NextToken. |
String |
toString()
Returns a string representation of this object.
|
ListClustersResult |
withClusterSummaries(ClusterSummary... clusterSummaries)
The summaries of listed SageMaker HyperPod clusters.
|
ListClustersResult |
withClusterSummaries(Collection<ClusterSummary> clusterSummaries)
The summaries of listed SageMaker HyperPod clusters.
|
ListClustersResult |
withNextToken(String nextToken)
If the result of the previous
ListClusters request was truncated, the response includes a
NextToken. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setNextToken(String nextToken)
If the result of the previous ListClusters request was truncated, the response includes a
NextToken. To retrieve the next set of clusters, use the token in the next request.
nextToken - If the result of the previous ListClusters request was truncated, the response includes a
NextToken. To retrieve the next set of clusters, use the token in the next request.public String getNextToken()
If the result of the previous ListClusters request was truncated, the response includes a
NextToken. To retrieve the next set of clusters, use the token in the next request.
ListClusters request was truncated, the response includes a
NextToken. To retrieve the next set of clusters, use the token in the next request.public ListClustersResult withNextToken(String nextToken)
If the result of the previous ListClusters request was truncated, the response includes a
NextToken. To retrieve the next set of clusters, use the token in the next request.
nextToken - If the result of the previous ListClusters request was truncated, the response includes a
NextToken. To retrieve the next set of clusters, use the token in the next request.public List<ClusterSummary> getClusterSummaries()
The summaries of listed SageMaker HyperPod clusters.
public void setClusterSummaries(Collection<ClusterSummary> clusterSummaries)
The summaries of listed SageMaker HyperPod clusters.
clusterSummaries - The summaries of listed SageMaker HyperPod clusters.public ListClustersResult withClusterSummaries(ClusterSummary... clusterSummaries)
The summaries of listed SageMaker HyperPod clusters.
NOTE: This method appends the values to the existing list (if any). Use
setClusterSummaries(java.util.Collection) or withClusterSummaries(java.util.Collection) if you
want to override the existing values.
clusterSummaries - The summaries of listed SageMaker HyperPod clusters.public ListClustersResult withClusterSummaries(Collection<ClusterSummary> clusterSummaries)
The summaries of listed SageMaker HyperPod clusters.
clusterSummaries - The summaries of listed SageMaker HyperPod clusters.public String toString()
toString in class ObjectObject.toString()public ListClustersResult clone()