@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<ClusterListEntry> |
getClusterListEntries()
Each
ClusterListEntry object contains a cluster's state, a cluster's ID, and other important status
information. |
String |
getNextToken()
HTTP requests are stateless.
|
int |
hashCode() |
void |
setClusterListEntries(Collection<ClusterListEntry> clusterListEntries)
Each
ClusterListEntry object contains a cluster's state, a cluster's ID, and other important status
information. |
void |
setNextToken(String nextToken)
HTTP requests are stateless.
|
String |
toString()
Returns a string representation of this object.
|
ListClustersResult |
withClusterListEntries(ClusterListEntry... clusterListEntries)
Each
ClusterListEntry object contains a cluster's state, a cluster's ID, and other important status
information. |
ListClustersResult |
withClusterListEntries(Collection<ClusterListEntry> clusterListEntries)
Each
ClusterListEntry object contains a cluster's state, a cluster's ID, and other important status
information. |
ListClustersResult |
withNextToken(String nextToken)
HTTP requests are stateless.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ClusterListEntry> getClusterListEntries()
Each ClusterListEntry
object contains a cluster's state, a cluster's ID, and other important status
information.
ClusterListEntry
object contains a cluster's state, a cluster's ID, and other important
status information.public void setClusterListEntries(Collection<ClusterListEntry> clusterListEntries)
Each ClusterListEntry
object contains a cluster's state, a cluster's ID, and other important status
information.
clusterListEntries
- Each ClusterListEntry
object contains a cluster's state, a cluster's ID, and other important
status information.public ListClustersResult withClusterListEntries(ClusterListEntry... clusterListEntries)
Each ClusterListEntry
object contains a cluster's state, a cluster's ID, and other important status
information.
NOTE: This method appends the values to the existing list (if any). Use
setClusterListEntries(java.util.Collection)
or withClusterListEntries(java.util.Collection)
if
you want to override the existing values.
clusterListEntries
- Each ClusterListEntry
object contains a cluster's state, a cluster's ID, and other important
status information.public ListClustersResult withClusterListEntries(Collection<ClusterListEntry> clusterListEntries)
Each ClusterListEntry
object contains a cluster's state, a cluster's ID, and other important status
information.
clusterListEntries
- Each ClusterListEntry
object contains a cluster's state, a cluster's ID, and other important
status information.public void setNextToken(String nextToken)
HTTP requests are stateless. If you use the automatically generated NextToken
value in your next
ClusterListEntry
call, your list of returned clusters will start from this point in the array.
nextToken
- HTTP requests are stateless. If you use the automatically generated NextToken
value in your
next ClusterListEntry
call, your list of returned clusters will start from this point in the
array.public String getNextToken()
HTTP requests are stateless. If you use the automatically generated NextToken
value in your next
ClusterListEntry
call, your list of returned clusters will start from this point in the array.
NextToken
value in your
next ClusterListEntry
call, your list of returned clusters will start from this point in the
array.public ListClustersResult withNextToken(String nextToken)
HTTP requests are stateless. If you use the automatically generated NextToken
value in your next
ClusterListEntry
call, your list of returned clusters will start from this point in the array.
nextToken
- HTTP requests are stateless. If you use the automatically generated NextToken
value in your
next ClusterListEntry
call, your list of returned clusters will start from this point in the
array.public String toString()
toString
in class Object
Object.toString()
public ListClustersResult clone()