@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 Auto Scaling group.
|
Boolean |
getIncludeDeletedGroups()
Indicates whether to include scaling activity from deleted Auto Scaling groups.
|
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() |
Boolean |
isIncludeDeletedGroups()
Indicates whether to include scaling activity from deleted Auto Scaling groups.
|
void |
setActivityIds(Collection<String> activityIds)
The activity IDs of the desired scaling activities.
|
void |
setAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
|
void |
setIncludeDeletedGroups(Boolean includeDeletedGroups)
Indicates whether to include scaling activity from deleted Auto Scaling groups.
|
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.
|
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 Auto Scaling group.
|
DescribeScalingActivitiesRequest |
withIncludeDeletedGroups(Boolean includeDeletedGroups)
Indicates whether to include scaling activity from deleted Auto Scaling groups.
|
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 property, all activities for the past six weeks are described. If unknown activities are requested, they are ignored with no error. If you specify an Auto Scaling group, the results are limited to that group.
Array Members: Maximum number of 50 IDs.
Array Members: Maximum number of 50 IDs.
public void setActivityIds(Collection<String> activityIds)
The activity IDs of the desired scaling activities. If you omit this property, all activities for the past six weeks are described. If unknown activities are requested, they are ignored with no error. If you specify an Auto Scaling group, the results are limited to that group.
Array Members: Maximum number of 50 IDs.
activityIds
- The activity IDs of the desired scaling activities. If you omit this property, all activities for the past
six weeks are described. If unknown activities are requested, they are ignored with no error. If you
specify an Auto Scaling group, the results are limited to that group.
Array Members: Maximum number of 50 IDs.
public DescribeScalingActivitiesRequest withActivityIds(String... activityIds)
The activity IDs of the desired scaling activities. If you omit this property, all activities for the past six weeks are described. If unknown activities are requested, they are ignored with no error. If you specify an Auto Scaling group, the results are limited to that group.
Array Members: Maximum number of 50 IDs.
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 property, all activities for the past
six weeks are described. If unknown activities are requested, they are ignored with no error. If you
specify an Auto Scaling group, the results are limited to that group.
Array Members: Maximum number of 50 IDs.
public DescribeScalingActivitiesRequest withActivityIds(Collection<String> activityIds)
The activity IDs of the desired scaling activities. If you omit this property, all activities for the past six weeks are described. If unknown activities are requested, they are ignored with no error. If you specify an Auto Scaling group, the results are limited to that group.
Array Members: Maximum number of 50 IDs.
activityIds
- The activity IDs of the desired scaling activities. If you omit this property, all activities for the past
six weeks are described. If unknown activities are requested, they are ignored with no error. If you
specify an Auto Scaling group, the results are limited to that group.
Array Members: Maximum number of 50 IDs.
public void setAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
autoScalingGroupName
- The name of the Auto Scaling group.public String getAutoScalingGroupName()
The name of the Auto Scaling group.
public DescribeScalingActivitiesRequest withAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
autoScalingGroupName
- The name of the Auto Scaling group.public void setIncludeDeletedGroups(Boolean includeDeletedGroups)
Indicates whether to include scaling activity from deleted Auto Scaling groups.
includeDeletedGroups
- Indicates whether to include scaling activity from deleted Auto Scaling groups.public Boolean getIncludeDeletedGroups()
Indicates whether to include scaling activity from deleted Auto Scaling groups.
public DescribeScalingActivitiesRequest withIncludeDeletedGroups(Boolean includeDeletedGroups)
Indicates whether to include scaling activity from deleted Auto Scaling groups.
includeDeletedGroups
- Indicates whether to include scaling activity from deleted Auto Scaling groups.public Boolean isIncludeDeletedGroups()
Indicates whether to include scaling activity from deleted Auto Scaling groups.
public void setMaxRecords(Integer maxRecords)
The maximum number of items to return with this call. The default value is 100
and the maximum value
is 100
.
maxRecords
- The maximum number of items to return with this call. The default value is 100
and the
maximum value is 100
.public Integer getMaxRecords()
The maximum number of items to return with this call. The default value is 100
and the maximum value
is 100
.
100
and the
maximum value is 100
.public DescribeScalingActivitiesRequest withMaxRecords(Integer maxRecords)
The maximum number of items to return with this call. The default value is 100
and the maximum value
is 100
.
maxRecords
- The maximum number of items to return with this call. The default value is 100
and the
maximum 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()