public class DescribeScalingActivitiesResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<Activity> |
activities
The scaling activities.
|
private java.lang.String |
nextToken
The token to use when requesting the next set of items.
|
Constructor and Description |
---|
DescribeScalingActivitiesResult() |
Modifier and Type | Method and Description |
---|---|
DescribeScalingActivitiesResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<Activity> |
getActivities()
The scaling activities.
|
java.lang.String |
getNextToken()
The token to use when requesting the next set of items.
|
int |
hashCode() |
void |
setActivities(java.util.Collection<Activity> activities)
The scaling activities.
|
void |
setNextToken(java.lang.String nextToken)
The token to use when requesting the next set of items.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeScalingActivitiesResult |
withActivities(Activity... activities)
The scaling activities.
|
DescribeScalingActivitiesResult |
withActivities(java.util.Collection<Activity> activities)
The scaling activities.
|
DescribeScalingActivitiesResult |
withNextToken(java.lang.String nextToken)
The token to use when requesting the next set of items.
|
private SdkInternalList<Activity> activities
The scaling activities.
private java.lang.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.
public java.util.List<Activity> getActivities()
The scaling activities.
public void setActivities(java.util.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(java.util.Collection<Activity> activities)
The scaling activities.
activities
- The scaling activities.public void setNextToken(java.lang.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 java.lang.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(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeScalingActivitiesResult clone()
clone
in class java.lang.Object