public class DescribeScalingActivitiesResult extends Object implements Serializable, Cloneable
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.
public void setActivities(Collection<Activity> activities)
The scaling activities.
activities
- The scaling activities.public DescribeScalingActivitiesResult withActivities(Activity... activities)
The scaling activities.
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.public DescribeScalingActivitiesResult withActivities(Collection<Activity> activities)
The scaling activities.
activities
- The scaling activities.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 Object
Object.toString()
public DescribeScalingActivitiesResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.