Class DescribeAutoScalingGroupsRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.autoscaling.model.DescribeAutoScalingGroupsRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class DescribeAutoScalingGroupsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description DescribeAutoScalingGroupsRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeAutoScalingGroupsRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
List<String>
getAutoScalingGroupNames()
The group names.Integer
getMaxRecords()
The maximum number of items to return with this call.String
getNextToken()
The token for the next set of items to return.int
hashCode()
void
setAutoScalingGroupNames(Collection<String> autoScalingGroupNames)
The group names.void
setMaxRecords(Integer maxRecords)
The maximum number of items to return with this call.void
setNextToken(String nextToken)
The token for the next set of items to return.String
toString()
Returns a string representation of this object; useful for testing and debugging.DescribeAutoScalingGroupsRequest
withAutoScalingGroupNames(String... autoScalingGroupNames)
The group names.DescribeAutoScalingGroupsRequest
withAutoScalingGroupNames(Collection<String> autoScalingGroupNames)
The group names.DescribeAutoScalingGroupsRequest
withMaxRecords(Integer maxRecords)
The maximum number of items to return with this call.DescribeAutoScalingGroupsRequest
withNextToken(String nextToken)
The token for the next set of items to return.-
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
-
getAutoScalingGroupNames
public List<String> getAutoScalingGroupNames()
The group names.
- Returns:
- The group names.
-
setAutoScalingGroupNames
public void setAutoScalingGroupNames(Collection<String> autoScalingGroupNames)
The group names.
- Parameters:
autoScalingGroupNames
- The group names.
-
withAutoScalingGroupNames
public DescribeAutoScalingGroupsRequest withAutoScalingGroupNames(String... autoScalingGroupNames)
The group names.
NOTE: This method appends the values to the existing list (if any). Use
setAutoScalingGroupNames(java.util.Collection)
orwithAutoScalingGroupNames(java.util.Collection)
if you want to override the existing values.- Parameters:
autoScalingGroupNames
- The group names.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withAutoScalingGroupNames
public DescribeAutoScalingGroupsRequest withAutoScalingGroupNames(Collection<String> autoScalingGroupNames)
The group names.
- Parameters:
autoScalingGroupNames
- The group names.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
public void setNextToken(String nextToken)
The token for the next set of items to return. (You received this token from a previous call.)
- Parameters:
nextToken
- The token for the next set of items to return. (You received this token from a previous call.)
-
getNextToken
public String getNextToken()
The token for the next set of items to return. (You received this token from a previous call.)
- Returns:
- The token for the next set of items to return. (You received this token from a previous call.)
-
withNextToken
public DescribeAutoScalingGroupsRequest withNextToken(String nextToken)
The token for the next set of items to return. (You received this token from a previous call.)
- Parameters:
nextToken
- The token for the next set of items to return. (You received this token from a previous call.)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMaxRecords
public void setMaxRecords(Integer maxRecords)
The maximum number of items to return with this call.
- Parameters:
maxRecords
- The maximum number of items to return with this call.
-
getMaxRecords
public Integer getMaxRecords()
The maximum number of items to return with this call.
- Returns:
- The maximum number of items to return with this call.
-
withMaxRecords
public DescribeAutoScalingGroupsRequest withMaxRecords(Integer maxRecords)
The maximum number of items to return with this call.
- Parameters:
maxRecords
- The maximum number of items to return with this call.- 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 DescribeAutoScalingGroupsRequest 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()
-
-