Class DescribeScalingActivitiesRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.autoscaling.model.DescribeScalingActivitiesRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class DescribeScalingActivitiesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description DescribeScalingActivitiesRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeScalingActivitiesRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)List<String>getActivityIds()The activity IDs of the desired scaling activities.StringgetAutoScalingGroupName()The name of the group.IntegergetMaxRecords()The maximum number of items to return with this call.StringgetNextToken()The token for the next set of items to return.inthashCode()voidsetActivityIds(Collection<String> activityIds)The activity IDs of the desired scaling activities.voidsetAutoScalingGroupName(String autoScalingGroupName)The name of the group.voidsetMaxRecords(Integer maxRecords)The maximum number of items to return with this call.voidsetNextToken(String nextToken)The token for the next set of items to return.StringtoString()Returns a string representation of this object; useful for testing and debugging.DescribeScalingActivitiesRequestwithActivityIds(String... activityIds)The activity IDs of the desired scaling activities.DescribeScalingActivitiesRequestwithActivityIds(Collection<String> activityIds)The activity IDs of the desired scaling activities.DescribeScalingActivitiesRequestwithAutoScalingGroupName(String autoScalingGroupName)The name of the group.DescribeScalingActivitiesRequestwithMaxRecords(Integer maxRecords)The maximum number of items to return with this call.DescribeScalingActivitiesRequestwithNextToken(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
-
getActivityIds
public List<String> getActivityIds()
The activity IDs of the desired scaling activities. If this list is omitted, all activities are described. If you specify an Auto Scaling group, the results are limited to that group. The list of requested activities cannot contain more than 50 items. If unknown activities are requested, they are ignored with no error.
- Returns:
- The activity IDs of the desired scaling activities. If this list is omitted, all activities are described. If you specify an Auto Scaling group, the results are limited to that group. The list of requested activities cannot contain more than 50 items. If unknown activities are requested, they are ignored with no error.
-
setActivityIds
public void setActivityIds(Collection<String> activityIds)
The activity IDs of the desired scaling activities. If this list is omitted, all activities are described. If you specify an Auto Scaling group, the results are limited to that group. The list of requested activities cannot contain more than 50 items. If unknown activities are requested, they are ignored with no error.
- Parameters:
activityIds- The activity IDs of the desired scaling activities. If this list is omitted, all activities are described. If you specify an Auto Scaling group, the results are limited to that group. The list of requested activities cannot contain more than 50 items. If unknown activities are requested, they are ignored with no error.
-
withActivityIds
public DescribeScalingActivitiesRequest withActivityIds(String... activityIds)
The activity IDs of the desired scaling activities. If this list is omitted, all activities are described. If you specify an Auto Scaling group, the results are limited to that group. The list of requested activities cannot contain more than 50 items. If unknown activities are requested, they are ignored with no error.
NOTE: This method appends the values to the existing list (if any). Use
setActivityIds(java.util.Collection)orwithActivityIds(java.util.Collection)if you want to override the existing values.- Parameters:
activityIds- The activity IDs of the desired scaling activities. If this list is omitted, all activities are described. If you specify an Auto Scaling group, the results are limited to that group. The list of requested activities cannot contain more than 50 items. If unknown activities are requested, they are ignored with no error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withActivityIds
public DescribeScalingActivitiesRequest withActivityIds(Collection<String> activityIds)
The activity IDs of the desired scaling activities. If this list is omitted, all activities are described. If you specify an Auto Scaling group, the results are limited to that group. The list of requested activities cannot contain more than 50 items. If unknown activities are requested, they are ignored with no error.
- Parameters:
activityIds- The activity IDs of the desired scaling activities. If this list is omitted, all activities are described. If you specify an Auto Scaling group, the results are limited to that group. The list of requested activities cannot contain more than 50 items. If unknown activities are requested, they are ignored with no error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAutoScalingGroupName
public void setAutoScalingGroupName(String autoScalingGroupName)
The name of the group.
- Parameters:
autoScalingGroupName- The name of the group.
-
getAutoScalingGroupName
public String getAutoScalingGroupName()
The name of the group.
- Returns:
- The name of the group.
-
withAutoScalingGroupName
public DescribeScalingActivitiesRequest withAutoScalingGroupName(String autoScalingGroupName)
The name of the group.
- Parameters:
autoScalingGroupName- The name of the group.- 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 DescribeScalingActivitiesRequest 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.
-
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 DescribeScalingActivitiesRequest 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.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeScalingActivitiesRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-