@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeScalingActivitiesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DescribeScalingActivitiesRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeScalingActivitiesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getActivityIds()
The activity IDs of the desired scaling activities.
|
String |
getAutoScalingGroupName()
The name of the group.
|
Integer |
getMaxRecords()
The maximum number of items to return with this call.
|
String |
getNextToken()
The token for the next set of items to return.
|
int |
hashCode() |
void |
setActivityIds(Collection<String> activityIds)
The activity IDs of the desired scaling activities.
|
void |
setAutoScalingGroupName(String autoScalingGroupName)
The name of the group.
|
void |
setMaxRecords(Integer maxRecords)
The maximum number of items to return with this call.
|
void |
setNextToken(String nextToken)
The token for the next set of items to return.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeScalingActivitiesRequest |
withActivityIds(Collection<String> activityIds)
The activity IDs of the desired scaling activities.
|
DescribeScalingActivitiesRequest |
withActivityIds(String... activityIds)
The activity IDs of the desired scaling activities.
|
DescribeScalingActivitiesRequest |
withAutoScalingGroupName(String autoScalingGroupName)
The name of the group.
|
DescribeScalingActivitiesRequest |
withMaxRecords(Integer maxRecords)
The maximum number of items to return with this call.
|
DescribeScalingActivitiesRequest |
withNextToken(String nextToken)
The token for the next set of items to return.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public List<String> getActivityIds()
The activity IDs of the desired scaling activities. If you omit this parameter, all activities for the past six weeks are described. If you specify an Auto Scaling group, the results are limited to that group. The list of requested activities cannot contain more than 50 items. If unknown activities are requested, they are ignored with no error.
public void setActivityIds(Collection<String> activityIds)
The activity IDs of the desired scaling activities. If you omit this parameter, all activities for the past six weeks are described. If you specify an Auto Scaling group, the results are limited to that group. The list of requested activities cannot contain more than 50 items. If unknown activities are requested, they are ignored with no error.
activityIds
- The activity IDs of the desired scaling activities. If you omit this parameter, all activities for the
past six weeks are described. If you specify an Auto Scaling group, the results are limited to that group.
The list of requested activities cannot contain more than 50 items. If unknown activities are requested,
they are ignored with no error.public DescribeScalingActivitiesRequest withActivityIds(String... activityIds)
The activity IDs of the desired scaling activities. If you omit this parameter, all activities for the past six weeks are described. If you specify an Auto Scaling group, the results are limited to that group. The list of requested activities cannot contain more than 50 items. If unknown activities are requested, they are ignored with no error.
NOTE: This method appends the values to the existing list (if any). Use
setActivityIds(java.util.Collection)
or withActivityIds(java.util.Collection)
if you want to
override the existing values.
activityIds
- The activity IDs of the desired scaling activities. If you omit this parameter, all activities for the
past six weeks are described. If you specify an Auto Scaling group, the results are limited to that group.
The list of requested activities cannot contain more than 50 items. If unknown activities are requested,
they are ignored with no error.public DescribeScalingActivitiesRequest withActivityIds(Collection<String> activityIds)
The activity IDs of the desired scaling activities. If you omit this parameter, all activities for the past six weeks are described. If you specify an Auto Scaling group, the results are limited to that group. The list of requested activities cannot contain more than 50 items. If unknown activities are requested, they are ignored with no error.
activityIds
- The activity IDs of the desired scaling activities. If you omit this parameter, all activities for the
past six weeks are described. If you specify an Auto Scaling group, the results are limited to that group.
The list of requested activities cannot contain more than 50 items. If unknown activities are requested,
they are ignored with no error.public void setAutoScalingGroupName(String autoScalingGroupName)
The name of the group.
autoScalingGroupName
- The name of the group.public String getAutoScalingGroupName()
The name of the group.
public DescribeScalingActivitiesRequest withAutoScalingGroupName(String autoScalingGroupName)
The name of the group.
autoScalingGroupName
- The name of the group.public void setMaxRecords(Integer maxRecords)
The maximum number of items to return with this call. The default value is 100.
maxRecords
- The maximum number of items to return with this call. The default value is 100.public Integer getMaxRecords()
The maximum number of items to return with this call. The default value is 100.
public DescribeScalingActivitiesRequest withMaxRecords(Integer maxRecords)
The maximum number of items to return with this call. The default value is 100.
maxRecords
- The maximum number of items to return with this call. The default value is 100.public void setNextToken(String nextToken)
The token for the next set of items to return. (You received this token from a previous call.)
nextToken
- The token for the next set of items to return. (You received this token from a previous call.)public String getNextToken()
The token for the next set of items to return. (You received this token from a previous call.)
public DescribeScalingActivitiesRequest withNextToken(String nextToken)
The token for the next set of items to return. (You received this token from a previous call.)
nextToken
- The token for the next set of items to return. (You received this token from a previous call.)public String toString()
toString
in class Object
Object.toString()
public DescribeScalingActivitiesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.