public class ListInstancesRequest extends AmazonWebServiceRequest implements Serializable
ListInstances operation
.
Provides information about the cluster instances that Amazon EMR provisions on behalf of a user when it creates the cluster. For example, this operation indicates when the EC2 instances reach the Ready state, when instances become available to Amazon EMR to use for jobs, and the IP addresses for cluster instances, etc.
Constructor and Description |
---|
ListInstancesRequest() |
Modifier and Type | Method and Description |
---|---|
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 is a random string indicating whether there are
more results to fetch.
|
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 is a random string indicating whether there are
more results to fetch.
|
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 is a random string indicating whether there are
more results to fetch.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public String getClusterId()
public void setClusterId(String clusterId)
clusterId
- The identifier of the cluster for which to list the instances.public ListInstancesRequest withClusterId(String clusterId)
Returns a reference to this object so that method calls can be chained together.
clusterId
- The identifier of the cluster for which to list the instances.public String getInstanceGroupId()
public void setInstanceGroupId(String instanceGroupId)
instanceGroupId
- The identifier of the instance group for which to list the instances.public ListInstancesRequest withInstanceGroupId(String instanceGroupId)
Returns a reference to this object so that method calls can be chained together.
instanceGroupId
- The identifier of the instance group for which to list the instances.public List<String> getInstanceGroupTypes()
public void setInstanceGroupTypes(Collection<String> instanceGroupTypes)
instanceGroupTypes
- The type of instance group for which to list the instances.public ListInstancesRequest withInstanceGroupTypes(String... instanceGroupTypes)
Returns a reference to this object so that method calls can be chained together.
instanceGroupTypes
- The type of instance group for which to list the instances.public ListInstancesRequest withInstanceGroupTypes(Collection<String> instanceGroupTypes)
Returns a reference to this object so that method calls can be chained together.
instanceGroupTypes
- The type of instance group for which to list the instances.public ListInstancesRequest withInstanceGroupTypes(InstanceGroupType... instanceGroupTypes)
Returns a reference to this object so that method calls can be chained together.
instanceGroupTypes
- The type of instance group for which to list the instances.public String getMarker()
public void setMarker(String marker)
marker
- The pagination token is a random string indicating whether there are
more results to fetch. Provide the pagination token from earlier API
calls to retrieve the next page of results. When the value is null,
all results have been returned.public ListInstancesRequest withMarker(String marker)
Returns a reference to this object so that method calls can be chained together.
marker
- The pagination token is a random string indicating whether there are
more results to fetch. Provide the pagination token from earlier API
calls to retrieve the next page of results. When the value is null,
all results have been returned.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.