public class DescribeScalingActivitiesRequest extends AmazonWebServiceRequest implements java.io.Serializable
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.
Constructor and Description |
---|
DescribeScalingActivitiesRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getActivityIds()
The activity IDs of the desired scaling activities.
|
java.lang.String |
getAutoScalingGroupName()
The name of the group.
|
java.lang.Integer |
getMaxRecords()
The maximum number of items to return with this call.
|
java.lang.String |
getNextToken()
The token for the next set of items to return.
|
int |
hashCode() |
void |
setActivityIds(java.util.Collection<java.lang.String> activityIds)
The activity IDs of the desired scaling activities.
|
void |
setAutoScalingGroupName(java.lang.String autoScalingGroupName)
The name of the group.
|
void |
setMaxRecords(java.lang.Integer maxRecords)
The maximum number of items to return with this call.
|
void |
setNextToken(java.lang.String nextToken)
The token for the next set of items to return.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeScalingActivitiesRequest |
withActivityIds(java.util.Collection<java.lang.String> activityIds)
The activity IDs of the desired scaling activities.
|
DescribeScalingActivitiesRequest |
withActivityIds(java.lang.String... activityIds)
The activity IDs of the desired scaling activities.
|
DescribeScalingActivitiesRequest |
withAutoScalingGroupName(java.lang.String autoScalingGroupName)
The name of the group.
|
DescribeScalingActivitiesRequest |
withMaxRecords(java.lang.Integer maxRecords)
The maximum number of items to return with this call.
|
DescribeScalingActivitiesRequest |
withNextToken(java.lang.String nextToken)
The token for the next set of items to return.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.util.List<java.lang.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.
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.
public void setActivityIds(java.util.Collection<java.lang.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.
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.
public DescribeScalingActivitiesRequest withActivityIds(java.lang.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.
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 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.
public DescribeScalingActivitiesRequest withActivityIds(java.util.Collection<java.lang.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.
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 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.
public java.lang.String getAutoScalingGroupName()
The name of the group.
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
The name of the group.
public void setAutoScalingGroupName(java.lang.String autoScalingGroupName)
The name of the group.
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
autoScalingGroupName
- The name of the group.
public DescribeScalingActivitiesRequest withAutoScalingGroupName(java.lang.String autoScalingGroupName)
The name of the group.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
autoScalingGroupName
- The name of the group.
public java.lang.Integer getMaxRecords()
The maximum number of items to return with this call.
The maximum number of items to return with this call.
public void setMaxRecords(java.lang.Integer maxRecords)
The maximum number of items to return with this call.
maxRecords
- The maximum number of items to return with this call.
public DescribeScalingActivitiesRequest withMaxRecords(java.lang.Integer maxRecords)
The maximum number of items to return with this call.
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 java.lang.String getNextToken()
The token for the next set of items to return. (You received this token from a previous call.)
Constraints:
Pattern: [ --�𐀀-\r\n\t]*
The token for the next set of items to return. (You received this token from a previous call.)
public void setNextToken(java.lang.String nextToken)
The token for the next set of items to return. (You received this token from a previous call.)
Constraints:
Pattern: [ --�𐀀-\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(java.lang.String nextToken)
The token for the next set of items to return. (You received this token from a previous call.)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: [ --�𐀀-\r\n\t]*
nextToken
- The token for the next set of items to return. (You received this token from a previous call.)
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.