@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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 object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClusterId()
The identifier of the cluster for which to list the instances.
|
String |
getInstanceFleetId()
The unique identifier of the instance fleet.
|
String |
getInstanceFleetType()
The node type of the instance fleet.
|
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.
|
List<String> |
getInstanceStates()
A list of instance states that will filter the instances returned with this request.
|
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 |
setInstanceFleetId(String instanceFleetId)
The unique identifier of the instance fleet.
|
void |
setInstanceFleetType(InstanceFleetType instanceFleetType)
The node type of the instance fleet.
|
void |
setInstanceFleetType(String instanceFleetType)
The node type of the instance fleet.
|
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 |
setInstanceStates(Collection<String> instanceStates)
A list of instance states that will filter the instances returned with this request.
|
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 |
withInstanceFleetId(String instanceFleetId)
The unique identifier of the instance fleet.
|
ListInstancesRequest |
withInstanceFleetType(InstanceFleetType instanceFleetType)
The node type of the instance fleet.
|
ListInstancesRequest |
withInstanceFleetType(String instanceFleetType)
The node type of the instance fleet.
|
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 |
withInstanceStates(Collection<String> instanceStates)
A list of instance states that will filter the instances returned with this request.
|
ListInstancesRequest |
withInstanceStates(InstanceState... instanceStates)
A list of instance states that will filter the instances returned with this request.
|
ListInstancesRequest |
withInstanceStates(String... instanceStates)
A list of instance states that will filter the instances returned with this request.
|
ListInstancesRequest |
withMarker(String marker)
The pagination token that indicates the next set of results to retrieve.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public 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.
InstanceGroupType
public 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.InstanceGroupType
public 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.InstanceGroupType
public 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.InstanceGroupType
public 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.InstanceGroupType
public void setInstanceFleetId(String instanceFleetId)
The unique identifier of the instance fleet.
instanceFleetId
- The unique identifier of the instance fleet.public String getInstanceFleetId()
The unique identifier of the instance fleet.
public ListInstancesRequest withInstanceFleetId(String instanceFleetId)
The unique identifier of the instance fleet.
instanceFleetId
- The unique identifier of the instance fleet.public void setInstanceFleetType(String instanceFleetType)
The node type of the instance fleet. For example MASTER, CORE, or TASK.
instanceFleetType
- The node type of the instance fleet. For example MASTER, CORE, or TASK.InstanceFleetType
public String getInstanceFleetType()
The node type of the instance fleet. For example MASTER, CORE, or TASK.
InstanceFleetType
public ListInstancesRequest withInstanceFleetType(String instanceFleetType)
The node type of the instance fleet. For example MASTER, CORE, or TASK.
instanceFleetType
- The node type of the instance fleet. For example MASTER, CORE, or TASK.InstanceFleetType
public void setInstanceFleetType(InstanceFleetType instanceFleetType)
The node type of the instance fleet. For example MASTER, CORE, or TASK.
instanceFleetType
- The node type of the instance fleet. For example MASTER, CORE, or TASK.InstanceFleetType
public ListInstancesRequest withInstanceFleetType(InstanceFleetType instanceFleetType)
The node type of the instance fleet. For example MASTER, CORE, or TASK.
instanceFleetType
- The node type of the instance fleet. For example MASTER, CORE, or TASK.InstanceFleetType
public List<String> getInstanceStates()
A list of instance states that will filter the instances returned with this request.
InstanceState
public void setInstanceStates(Collection<String> instanceStates)
A list of instance states that will filter the instances returned with this request.
instanceStates
- A list of instance states that will filter the instances returned with this request.InstanceState
public ListInstancesRequest withInstanceStates(String... instanceStates)
A list of instance states that will filter the instances returned with this request.
NOTE: This method appends the values to the existing list (if any). Use
setInstanceStates(java.util.Collection)
or withInstanceStates(java.util.Collection)
if you want
to override the existing values.
instanceStates
- A list of instance states that will filter the instances returned with this request.InstanceState
public ListInstancesRequest withInstanceStates(Collection<String> instanceStates)
A list of instance states that will filter the instances returned with this request.
instanceStates
- A list of instance states that will filter the instances returned with this request.InstanceState
public ListInstancesRequest withInstanceStates(InstanceState... instanceStates)
A list of instance states that will filter the instances returned with this request.
instanceStates
- A list of instance states that will filter the instances returned with this request.InstanceState
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 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 Object
Object.toString()
public ListInstancesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.