public class DescribeScalingActivitiesResult extends Object implements Serializable, Cloneable
Contains the output of DescribeScalingActivities.
| Constructor and Description |
|---|
DescribeScalingActivitiesResult() |
| Modifier and Type | Method and Description |
|---|---|
DescribeScalingActivitiesResult |
clone() |
boolean |
equals(Object obj) |
List<Activity> |
getActivities()
The scaling activities.
|
String |
getNextToken()
The token to use when requesting the next set of items.
|
int |
hashCode() |
void |
setActivities(Collection<Activity> activities)
The scaling activities.
|
void |
setNextToken(String nextToken)
The token to use when requesting the next set of items.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeScalingActivitiesResult |
withActivities(Activity... activities)
The scaling activities.
|
DescribeScalingActivitiesResult |
withActivities(Collection<Activity> activities)
The scaling activities.
|
DescribeScalingActivitiesResult |
withNextToken(String nextToken)
The token to use when requesting the next set of items.
|
public List<Activity> getActivities()
The scaling activities. Activities are sorted by start time. Activities still in progress are described first.
public void setActivities(Collection<Activity> activities)
The scaling activities. Activities are sorted by start time. Activities still in progress are described first.
activities - The scaling activities. Activities are sorted by start time.
Activities still in progress are described first.public DescribeScalingActivitiesResult withActivities(Activity... activities)
The scaling activities. Activities are sorted by start time. Activities still in progress are described first.
NOTE: This method appends the values to the existing list (if
any). Use setActivities(java.util.Collection) or
withActivities(java.util.Collection) if you want to override the
existing values.
activities - The scaling activities. Activities are sorted by start time.
Activities still in progress are described first.public DescribeScalingActivitiesResult withActivities(Collection<Activity> activities)
The scaling activities. Activities are sorted by start time. Activities still in progress are described first.
activities - The scaling activities. Activities are sorted by start time.
Activities still in progress are described first.public void setNextToken(String nextToken)
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
nextToken - The token to use when requesting the next set of items. If there
are no additional items to return, the string is empty.public String getNextToken()
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
public DescribeScalingActivitiesResult withNextToken(String nextToken)
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
nextToken - The token to use when requesting the next set of items. If there
are no additional items to return, the string is empty.public String toString()
toString in class ObjectObject.toString()public DescribeScalingActivitiesResult clone()
Copyright © 2016. All rights reserved.