public class ListInstancesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
This input determines which instances to list.
NOOP| Constructor and Description |
|---|
ListInstancesRequest() |
| Modifier and Type | Method and Description |
|---|---|
ListInstancesRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getClusterId()
The identifier of the cluster for which to list the instances.
|
String |
getInstanceGroupId()
The identifier of the instance group for which to list the instances.
|
List<String> |
getInstanceGroupTypes()
The type of instance group for which to list the instances.
|
String |
getMarker()
The pagination token that indicates the next set of results to retrieve.
|
int |
hashCode() |
void |
setClusterId(String clusterId)
The identifier of the cluster for which to list the instances.
|
void |
setInstanceGroupId(String instanceGroupId)
The identifier of the instance group for which to list the instances.
|
void |
setInstanceGroupTypes(Collection<String> instanceGroupTypes)
The type of instance group for which to list the instances.
|
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.
|
ListInstancesRequest |
withClusterId(String clusterId)
The identifier of the cluster for which to list the instances.
|
ListInstancesRequest |
withInstanceGroupId(String instanceGroupId)
The identifier of the instance group for which to list the instances.
|
ListInstancesRequest |
withInstanceGroupTypes(Collection<String> instanceGroupTypes)
The type of instance group for which to list the instances.
|
ListInstancesRequest |
withInstanceGroupTypes(InstanceGroupType... instanceGroupTypes)
The type of instance group for which to list the instances.
|
ListInstancesRequest |
withInstanceGroupTypes(String... instanceGroupTypes)
The type of instance group for which to list the instances.
|
ListInstancesRequest |
withMarker(String marker)
The pagination token that indicates the next set of results to retrieve.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setClusterId(String clusterId)
The identifier of the cluster for which to list the instances.
clusterId - The identifier of the cluster for which to list the instances.public String getClusterId()
The identifier of the cluster for which to list the instances.
public ListInstancesRequest withClusterId(String clusterId)
The identifier of the cluster for which to list the instances.
clusterId - The identifier of the cluster for which to list the instances.public void setInstanceGroupId(String instanceGroupId)
The identifier of the instance group for which to list the instances.
instanceGroupId - The identifier of the instance group for which to list the
instances.public String getInstanceGroupId()
The identifier of the instance group for which to list the instances.
public ListInstancesRequest withInstanceGroupId(String instanceGroupId)
The identifier of the instance group for which to list the instances.
instanceGroupId - The identifier of the instance group for which to list the
instances.public List<String> getInstanceGroupTypes()
The type of instance group for which to list the instances.
InstanceGroupTypepublic void setInstanceGroupTypes(Collection<String> instanceGroupTypes)
The type of instance group for which to list the instances.
instanceGroupTypes - The type of instance group for which to list the instances.InstanceGroupTypepublic ListInstancesRequest withInstanceGroupTypes(String... instanceGroupTypes)
The type of instance group for which to list the instances.
NOTE: This method appends the values to the existing list (if
any). Use setInstanceGroupTypes(java.util.Collection) or
withInstanceGroupTypes(java.util.Collection) if you want to
override the existing values.
instanceGroupTypes - The type of instance group for which to list the instances.InstanceGroupTypepublic ListInstancesRequest withInstanceGroupTypes(Collection<String> instanceGroupTypes)
The type of instance group for which to list the instances.
instanceGroupTypes - The type of instance group for which to list the instances.InstanceGroupTypepublic ListInstancesRequest withInstanceGroupTypes(InstanceGroupType... instanceGroupTypes)
The type of instance group for which to list the instances.
instanceGroupTypes - The type of instance group for which to list the instances.InstanceGroupTypepublic 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 ListInstancesRequest 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 ObjectObject.toString()public ListInstancesRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.