Class ListInstanceGroupsRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.elasticmapreduce.model.ListInstanceGroupsRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class ListInstanceGroupsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
This input determines which instance groups to retrieve.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description ListInstanceGroupsRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListInstanceGroupsRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getClusterId()
The identifier of the cluster for which to list the instance groups.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 instance groups.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.ListInstanceGroupsRequest
withClusterId(String clusterId)
The identifier of the cluster for which to list the instance groups.ListInstanceGroupsRequest
withMarker(String marker)
The pagination token that indicates the next set of results to retrieve.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
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.
-
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.
-
withClusterId
public ListInstanceGroupsRequest withClusterId(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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMarker
public void setMarker(String marker)
The pagination token that indicates the next set of results to retrieve.
- Parameters:
marker
- The pagination token that indicates the next set of results to retrieve.
-
getMarker
public String getMarker()
The pagination token that indicates the next set of results to retrieve.
- Returns:
- The pagination token that indicates the next set of results to retrieve.
-
withMarker
public ListInstanceGroupsRequest withMarker(String marker)
The pagination token that indicates the next set of results to retrieve.
- Parameters:
marker
- The pagination token that indicates the next set of results to retrieve.- Returns:
- Returns a reference to this 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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListInstanceGroupsRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-