com.amazonaws.services.elasticmapreduce.model
Class ListInstanceGroupsRequest

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

public class ListInstanceGroupsRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the ListInstanceGroups operation.

Provides all available details about the instance groups in a cluster.

See Also:
AmazonElasticMapReduce.listInstanceGroups(ListInstanceGroupsRequest), Serialized Form

Constructor Summary
ListInstanceGroupsRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getClusterId()
          The identifier of the cluster for which to list the instance groups.
 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 instance groups.
 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.
 ListInstanceGroupsRequest withClusterId(String clusterId)
          The identifier of the cluster for which to list the instance groups.
 ListInstanceGroupsRequest 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

ListInstanceGroupsRequest

public ListInstanceGroupsRequest()
Method Detail

getClusterId

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

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

setClusterId

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

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

withClusterId

public ListInstanceGroupsRequest withClusterId(String clusterId)
The identifier of the cluster for which to list the instance groups.

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 instance groups.
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 ListInstanceGroupsRequest 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.