|
|||||||
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 will be sorted by completion time. Activities that have no completion time are considered as using the most recent possible time.
AmazonAutoScaling.describeScalingActivities(DescribeScalingActivitiesRequest)
Constructor Summary | |
---|---|
DescribeScalingActivitiesRequest()
|
Method Summary | |
---|---|
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 used to mark the start of the next batch of returned results. |
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 used to mark the start of the next batch of returned results. |
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 used to mark the start of the next batch of returned results. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DescribeScalingActivitiesRequest()
Method Detail |
---|
public List<String> getActivityIds()
public void setActivityIds(Collection<String> activityIds)
activityIds
- A list containing the activity IDs of the desired scaling activities.public DescribeScalingActivitiesRequest withActivityIds(String... activityIds)
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.
public DescribeScalingActivitiesRequest withActivityIds(Collection<String> activityIds)
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.
public String getAutoScalingGroupName()
Constraints:
Length: 1 - 100
Pattern: [ -??-??-?\r\n\t]*
public void setAutoScalingGroupName(String autoScalingGroupName)
Constraints:
Length: 1 - 100
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 - 100
Pattern: [ -??-??-?\r\n\t]*
autoScalingGroupName
- The name of the AutoScalingGroup.
public Integer getMaxRecords()
Constraints:
Range: 20 - 100
public void setMaxRecords(Integer maxRecords)
Constraints:
Range: 20 - 100
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: 20 - 100
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 used to mark the start of the next batch of returned results.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 used to mark the start of the next batch of returned results.
public String toString()
toString
in class Object
Object.toString()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |