@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListInstanceGroupsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
This input determines which instance groups to retrieve.
Constructor and Description |
---|
ListInstanceGroupsResult() |
Modifier and Type | Method and Description |
---|---|
ListInstanceGroupsResult |
clone() |
boolean |
equals(Object obj) |
List<InstanceGroup> |
getInstanceGroups()
The list of instance groups for the cluster and given filters.
|
String |
getMarker()
The pagination token that indicates the next set of results to retrieve.
|
int |
hashCode() |
void |
setInstanceGroups(Collection<InstanceGroup> instanceGroups)
The list of instance groups for the cluster and given filters.
|
void |
setMarker(String marker)
The pagination token that indicates the next set of results to retrieve.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ListInstanceGroupsResult |
withInstanceGroups(Collection<InstanceGroup> instanceGroups)
The list of instance groups for the cluster and given filters.
|
ListInstanceGroupsResult |
withInstanceGroups(InstanceGroup... instanceGroups)
The list of instance groups for the cluster and given filters.
|
ListInstanceGroupsResult |
withMarker(String marker)
The pagination token that indicates the next set of results to retrieve.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<InstanceGroup> getInstanceGroups()
The list of instance groups for the cluster and given filters.
public void setInstanceGroups(Collection<InstanceGroup> instanceGroups)
The list of instance groups for the cluster and given filters.
instanceGroups
- The list of instance groups for the cluster and given filters.public ListInstanceGroupsResult withInstanceGroups(InstanceGroup... instanceGroups)
The list of instance groups for the cluster and given filters.
NOTE: This method appends the values to the existing list (if any). Use
setInstanceGroups(java.util.Collection)
or withInstanceGroups(java.util.Collection)
if you want
to override the existing values.
instanceGroups
- The list of instance groups for the cluster and given filters.public ListInstanceGroupsResult withInstanceGroups(Collection<InstanceGroup> instanceGroups)
The list of instance groups for the cluster and given filters.
instanceGroups
- The list of instance groups for the cluster and given filters.public void setMarker(String marker)
The pagination token that indicates the next set of results to retrieve.
marker
- The pagination token that indicates the next set of results to retrieve.public String getMarker()
The pagination token that indicates the next set of results to retrieve.
public ListInstanceGroupsResult withMarker(String marker)
The pagination token that indicates the next set of results to retrieve.
marker
- The pagination token that indicates the next set of results to retrieve.public String toString()
toString
in class Object
Object.toString()
public ListInstanceGroupsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.