public class DescribeScalingActivitiesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
DescribeScalingActivities operation.
Describes one or more scaling activities for the specified Auto
Scaling group. If you omit the ActivityIds , the call
returns all activities from the past six weeks. Activities are sorted
by the start time. Activities still in progress appear first on the
list.
NOOP| Constructor and Description |
|---|
DescribeScalingActivitiesRequest() |
| Modifier and Type | Method and Description |
|---|---|
DescribeScalingActivitiesRequest |
clone() |
boolean |
equals(Object obj) |
List<String> |
getActivityIds()
The activity IDs of the desired scaling activities.
|
String |
getAutoScalingGroupName()
The name of the group.
|
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 |
setActivityIds(Collection<String> activityIds)
The activity IDs of the desired scaling activities.
|
void |
setAutoScalingGroupName(String autoScalingGroupName)
The name of the group.
|
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.
|
DescribeScalingActivitiesRequest |
withActivityIds(Collection<String> activityIds)
The activity IDs of the desired scaling activities.
|
DescribeScalingActivitiesRequest |
withActivityIds(String... activityIds)
The activity IDs of the desired scaling activities.
|
DescribeScalingActivitiesRequest |
withAutoScalingGroupName(String autoScalingGroupName)
The name of the group.
|
DescribeScalingActivitiesRequest |
withMaxRecords(Integer maxRecords)
The maximum number of items to return with this call.
|
DescribeScalingActivitiesRequest |
withNextToken(String nextToken)
The token for the next set of items to return.
|
copyBaseTo, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic List<String> getActivityIds()
AutoScalingGroupName parameter is provided, 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.AutoScalingGroupName parameter is provided, 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.public void setActivityIds(Collection<String> activityIds)
AutoScalingGroupName parameter is provided, 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.activityIds - The activity IDs of the desired scaling activities. If this list is
omitted, all activities are described. If the
AutoScalingGroupName parameter is provided, 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.public DescribeScalingActivitiesRequest withActivityIds(String... activityIds)
AutoScalingGroupName parameter is provided, 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) or withActivityIds(java.util.Collection) if you want to override the
existing values.
Returns a reference to this object so that method calls can be chained together.
activityIds - The activity IDs of the desired scaling activities. If this list is
omitted, all activities are described. If the
AutoScalingGroupName parameter is provided, 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.public DescribeScalingActivitiesRequest withActivityIds(Collection<String> activityIds)
AutoScalingGroupName parameter is provided, 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 a reference to this object so that method calls can be chained together.
activityIds - The activity IDs of the desired scaling activities. If this list is
omitted, all activities are described. If the
AutoScalingGroupName parameter is provided, 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.public String getAutoScalingGroupName()
Constraints:
Length: 1 - 1600
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setAutoScalingGroupName(String autoScalingGroupName)
Constraints:
Length: 1 - 1600
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
autoScalingGroupName - The name of the group.public DescribeScalingActivitiesRequest withAutoScalingGroupName(String autoScalingGroupName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1600
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
autoScalingGroupName - The name of the group.public Integer getMaxRecords()
public void setMaxRecords(Integer maxRecords)
maxRecords - The maximum number of items to return with this call.public DescribeScalingActivitiesRequest withMaxRecords(Integer maxRecords)
Returns a reference to this object so that method calls can be chained together.
maxRecords - The maximum number of items to return with this call.public String getNextToken()
Constraints:
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setNextToken(String nextToken)
Constraints:
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
nextToken - The token for the next set of items to return. (You received this
token from a previous call.)public DescribeScalingActivitiesRequest withNextToken(String nextToken)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
nextToken - The token for the next set of items to return. (You received this
token from a previous call.)public String toString()
toString in class ObjectObject.toString()public DescribeScalingActivitiesRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2015. All rights reserved.