com.amazonaws.services.elasticmapreduce.model
Class ListInstancesRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.elasticmapreduce.model.ListInstancesRequest
All Implemented Interfaces:
Serializable

public class ListInstancesRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the 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.

See Also:
AmazonElasticMapReduce.listInstances(ListInstancesRequest), Serialized Form

Constructor Summary
ListInstancesRequest()
           
 
Method Summary
 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.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ListInstancesRequest

public ListInstancesRequest()
Method Detail

getClusterId

public String getClusterId()
The identifier of the cluster for which to list the instances.

Returns:
The identifier of the cluster for which to list the instances.

setClusterId

public void setClusterId(String clusterId)
The identifier of the cluster for which to list the instances.

Parameters:
clusterId - The identifier of the cluster for which to list the instances.

withClusterId

public ListInstancesRequest withClusterId(String clusterId)
The identifier of the cluster for which to list the instances.

Returns a reference to this object so that method calls can be chained together.

Parameters:
clusterId - The identifier of the cluster for which to list the instances.
Returns:
A reference to this updated object so that method calls can be chained together.

getInstanceGroupId

public String getInstanceGroupId()
The identifier of the instance group for which to list the instances.

Returns:
The identifier of the instance group for which to list the instances.

setInstanceGroupId

public void setInstanceGroupId(String instanceGroupId)
The identifier of the instance group for which to list the instances.

Parameters:
instanceGroupId - The identifier of the instance group for which to list the instances.

withInstanceGroupId

public ListInstancesRequest withInstanceGroupId(String instanceGroupId)
The identifier of the instance group for which to list the instances.

Returns a reference to this object so that method calls can be chained together.

Parameters:
instanceGroupId - The identifier of the instance group for which to list the instances.
Returns:
A reference to this updated object so that method calls can be chained together.

getInstanceGroupTypes

public List<String> getInstanceGroupTypes()
The type of instance group for which to list the instances.

Returns:
The type of instance group for which to list the instances.

setInstanceGroupTypes

public void setInstanceGroupTypes(Collection<String> instanceGroupTypes)
The type of instance group for which to list the instances.

Parameters:
instanceGroupTypes - The type of instance group for which to list the instances.

withInstanceGroupTypes

public ListInstancesRequest withInstanceGroupTypes(String... instanceGroupTypes)
The type of instance group for which to list the instances.

Returns a reference to this object so that method calls can be chained together.

Parameters:
instanceGroupTypes - The type of instance group for which to list the instances.
Returns:
A reference to this updated object so that method calls can be chained together.

withInstanceGroupTypes

public ListInstancesRequest withInstanceGroupTypes(Collection<String> instanceGroupTypes)
The type of instance group for which to list the instances.

Returns a reference to this object so that method calls can be chained together.

Parameters:
instanceGroupTypes - The type of instance group for which to list the instances.
Returns:
A reference to this updated object so that method calls can be chained together.

withInstanceGroupTypes

public ListInstancesRequest withInstanceGroupTypes(InstanceGroupType... instanceGroupTypes)
The type of instance group for which to list the instances.

Returns a reference to this object so that method calls can be chained together.

Parameters:
instanceGroupTypes - The type of instance group for which to list the instances.
Returns:
A reference to this updated object so that method calls can be chained together.

getMarker

public String getMarker()
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.

Returns:
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.

setMarker

public void setMarker(String 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.

Parameters:
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.

withMarker

public ListInstancesRequest withMarker(String 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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
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.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2016. All rights reserved.