|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.autoscaling.model.DescribeScalingActivitiesRequest
public class DescribeScalingActivitiesRequest
Container for the parameters to the DescribeScalingActivities operation
.
Returns the scaling activities for the specified Auto Scaling group.
If the specified ActivityIds
list is empty, all the activities from the past six weeks are returned. Activities are sorted by completion
time. Activities still in progress appear first on the list.
This action supports pagination. If the response includes a token, there are more records available. To get the additional records, repeat the
request with the response token as the NextToken
parameter.
AmazonAutoScaling.describeScalingActivities(DescribeScalingActivitiesRequest)
Constructor Summary | |
---|---|
DescribeScalingActivitiesRequest()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
List<String> |
getActivityIds()
A list containing the activity IDs of the desired scaling activities. |
String |
getAutoScalingGroupName()
The name of the AutoScalingGroup. |
Integer |
getMaxRecords()
The maximum number of scaling activities to return. |
String |
getNextToken()
A string that marks the start of the next batch of returned results for pagination. |
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 AutoScalingGroup. |
void |
setMaxRecords(Integer maxRecords)
The maximum number of scaling activities to return. |
void |
setNextToken(String nextToken)
A string that marks the start of the next batch of returned results for pagination. |
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 AutoScalingGroup. |
DescribeScalingActivitiesRequest |
withMaxRecords(Integer maxRecords)
The maximum number of scaling activities to return. |
DescribeScalingActivitiesRequest |
withNextToken(String nextToken)
A string that marks the start of the next batch of returned results for pagination. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, setDelegationToken, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DescribeScalingActivitiesRequest()
Method Detail |
---|
public 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: [ --�𐀀-\r\n\t]*
public void setAutoScalingGroupName(String autoScalingGroupName)
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
autoScalingGroupName
- The name of the AutoScalingGroup.public DescribeScalingActivitiesRequest withAutoScalingGroupName(String autoScalingGroupName)
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 AutoScalingGroup.
public Integer getMaxRecords()
Constraints:
Range: 1 - 50
public void setMaxRecords(Integer maxRecords)
Constraints:
Range: 1 - 50
maxRecords
- The maximum number of scaling activities to return.public DescribeScalingActivitiesRequest withMaxRecords(Integer maxRecords)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 50
maxRecords
- The maximum number of scaling activities to return.
public String getNextToken()
Constraints:
Pattern: [ --�𐀀-\r\n\t]*
public void setNextToken(String nextToken)
Constraints:
Pattern: [ --�𐀀-\r\n\t]*
nextToken
- A string that marks the start of the next batch of returned results
for pagination.public DescribeScalingActivitiesRequest withNextToken(String nextToken)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: [ --�𐀀-\r\n\t]*
nextToken
- A string that marks the start of the next batch of returned results
for pagination.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |