public class ListInstanceGroupsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
This input determines which instance groups to retrieve.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<InstanceGroup> |
instanceGroups
The list of instance groups for the cluster and given filters.
|
private java.lang.String |
marker
The pagination token that indicates the next set of results to retrieve.
|
Constructor and Description |
---|
ListInstanceGroupsResult() |
Modifier and Type | Method and Description |
---|---|
ListInstanceGroupsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<InstanceGroup> |
getInstanceGroups()
The list of instance groups for the cluster and given filters.
|
java.lang.String |
getMarker()
The pagination token that indicates the next set of results to retrieve.
|
int |
hashCode() |
void |
setInstanceGroups(java.util.Collection<InstanceGroup> instanceGroups)
The list of instance groups for the cluster and given filters.
|
void |
setMarker(java.lang.String marker)
The pagination token that indicates the next set of results to retrieve.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListInstanceGroupsResult |
withInstanceGroups(java.util.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(java.lang.String marker)
The pagination token that indicates the next set of results to retrieve.
|
private SdkInternalList<InstanceGroup> instanceGroups
The list of instance groups for the cluster and given filters.
private java.lang.String marker
The pagination token that indicates the next set of results to retrieve.
public java.util.List<InstanceGroup> getInstanceGroups()
The list of instance groups for the cluster and given filters.
public void setInstanceGroups(java.util.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(java.util.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(java.lang.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 java.lang.String getMarker()
The pagination token that indicates the next set of results to retrieve.
public ListInstanceGroupsResult withMarker(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ListInstanceGroupsResult clone()
clone
in class java.lang.Object