@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeScalingActivitiesResult extends AmazonWebServiceResult<ResponseMetadata> 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()
A string that indicates that the response contains more items than can be returned in a single response.
|
int |
hashCode() |
void |
setActivities(Collection<Activity> activities)
The scaling activities.
|
void |
setNextToken(String nextToken)
A string that indicates that the response contains more items than can be returned in a single response.
|
String |
toString()
Returns a string representation of this object.
|
DescribeScalingActivitiesResult |
withActivities(Activity... activities)
The scaling activities.
|
DescribeScalingActivitiesResult |
withActivities(Collection<Activity> activities)
The scaling activities.
|
DescribeScalingActivitiesResult |
withNextToken(String nextToken)
A string that indicates that the response contains more items than can be returned in a single response.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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)
A string that indicates that the response contains more items than can be returned in a single response. To
receive additional items, specify this string for the NextToken
value when requesting the next set
of items. This value is null when there are no more items to return.
nextToken
- A string that indicates that the response contains more items than can be returned in a single response.
To receive additional items, specify this string for the NextToken
value when requesting the
next set of items. This value is null when there are no more items to return.public String getNextToken()
A string that indicates that the response contains more items than can be returned in a single response. To
receive additional items, specify this string for the NextToken
value when requesting the next set
of items. This value is null when there are no more items to return.
NextToken
value when requesting the
next set of items. This value is null when there are no more items to return.public DescribeScalingActivitiesResult withNextToken(String nextToken)
A string that indicates that the response contains more items than can be returned in a single response. To
receive additional items, specify this string for the NextToken
value when requesting the next set
of items. This value is null when there are no more items to return.
nextToken
- A string that indicates that the response contains more items than can be returned in a single response.
To receive additional items, specify this string for the NextToken
value when requesting the
next set of items. This value is null when there are no more items to return.public String toString()
toString
in class Object
Object.toString()
public DescribeScalingActivitiesResult clone()