public class DescribeScalingActivitiesRequest extends AmazonWebServiceRequest implements Serializable
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.
You can specify a maximum number of items to be returned with a single
call. If there are more items to return, the call returns a token. To
get the next set of items, repeat the call with the returned token in
the NextToken parameter.
NOOP| Constructor and Description |
|---|
DescribeScalingActivitiesRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<String> |
getActivityIds()
A list containing 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)
A list containing 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)
A list containing the activity IDs of the desired scaling activities.
|
DescribeScalingActivitiesRequest |
withActivityIds(String... activityIds)
A list containing 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, copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic List<String> getActivityIds()
AutoScalingGroupName 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 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 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 - A list containing the activity IDs of the desired scaling activities.
If this list is omitted, all activities are described. If an
AutoScalingGroupName 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 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 - A list containing the activity IDs of the desired scaling activities.
If this list is omitted, all activities are described. If an
AutoScalingGroupName 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 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 - A list containing the activity IDs of the desired scaling activities.
If this list is omitted, all activities are described. If an
AutoScalingGroupName 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()Copyright © 2014. All rights reserved.