Class DescribeScalingActivitiesRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.applicationautoscaling.model.DescribeScalingActivitiesRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class DescribeScalingActivitiesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description DescribeScalingActivitiesRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeScalingActivitiesRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
Integer
getMaxResults()
The maximum number of scaling activity results returned byDescribeScalingActivities
in paginated output.String
getNextToken()
TheNextToken
value returned from a previous paginatedDescribeScalingActivities
request.String
getResourceId()
The unique identifier string for the resource associated with the scaling activity.String
getScalableDimension()
The scalable dimension associated with the scaling activity.String
getServiceNamespace()
The namespace for the AWS service that the scaling activity is associated with.int
hashCode()
void
setMaxResults(Integer maxResults)
The maximum number of scaling activity results returned byDescribeScalingActivities
in paginated output.void
setNextToken(String nextToken)
TheNextToken
value returned from a previous paginatedDescribeScalingActivities
request.void
setResourceId(String resourceId)
The unique identifier string for the resource associated with the scaling activity.void
setScalableDimension(ScalableDimension scalableDimension)
The scalable dimension associated with the scaling activity.void
setScalableDimension(String scalableDimension)
The scalable dimension associated with the scaling activity.void
setServiceNamespace(ServiceNamespace serviceNamespace)
The namespace for the AWS service that the scaling activity is associated with.void
setServiceNamespace(String serviceNamespace)
The namespace for the AWS service that the scaling activity is associated with.String
toString()
Returns a string representation of this object; useful for testing and debugging.DescribeScalingActivitiesRequest
withMaxResults(Integer maxResults)
The maximum number of scaling activity results returned byDescribeScalingActivities
in paginated output.DescribeScalingActivitiesRequest
withNextToken(String nextToken)
TheNextToken
value returned from a previous paginatedDescribeScalingActivities
request.DescribeScalingActivitiesRequest
withResourceId(String resourceId)
The unique identifier string for the resource associated with the scaling activity.DescribeScalingActivitiesRequest
withScalableDimension(ScalableDimension scalableDimension)
The scalable dimension associated with the scaling activity.DescribeScalingActivitiesRequest
withScalableDimension(String scalableDimension)
The scalable dimension associated with the scaling activity.DescribeScalingActivitiesRequest
withServiceNamespace(ServiceNamespace serviceNamespace)
The namespace for the AWS service that the scaling activity is associated with.DescribeScalingActivitiesRequest
withServiceNamespace(String serviceNamespace)
The namespace for the AWS service that the scaling activity is associated with.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
setServiceNamespace
public void setServiceNamespace(String serviceNamespace)
The namespace for the AWS service that the scaling activity is associated with. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference.
- Parameters:
serviceNamespace
- The namespace for the AWS service that the scaling activity is associated with. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference.- See Also:
ServiceNamespace
-
getServiceNamespace
public String getServiceNamespace()
The namespace for the AWS service that the scaling activity is associated with. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference.
- Returns:
- The namespace for the AWS service that the scaling activity is associated with. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference.
- See Also:
ServiceNamespace
-
withServiceNamespace
public DescribeScalingActivitiesRequest withServiceNamespace(String serviceNamespace)
The namespace for the AWS service that the scaling activity is associated with. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference.
- Parameters:
serviceNamespace
- The namespace for the AWS service that the scaling activity is associated with. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ServiceNamespace
-
setServiceNamespace
public void setServiceNamespace(ServiceNamespace serviceNamespace)
The namespace for the AWS service that the scaling activity is associated with. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference.
- Parameters:
serviceNamespace
- The namespace for the AWS service that the scaling activity is associated with. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference.- See Also:
ServiceNamespace
-
withServiceNamespace
public DescribeScalingActivitiesRequest withServiceNamespace(ServiceNamespace serviceNamespace)
The namespace for the AWS service that the scaling activity is associated with. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference.
- Parameters:
serviceNamespace
- The namespace for the AWS service that the scaling activity is associated with. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ServiceNamespace
-
setResourceId
public void setResourceId(String resourceId)
The unique identifier string for the resource associated with the scaling activity. For Amazon ECS services, this value is the resource type, followed by the cluster name and service name, such as
service/default/sample-webapp
. If you specify a scalable dimension, you must also specify a resource ID.- Parameters:
resourceId
- The unique identifier string for the resource associated with the scaling activity. For Amazon ECS services, this value is the resource type, followed by the cluster name and service name, such asservice/default/sample-webapp
. If you specify a scalable dimension, you must also specify a resource ID.
-
getResourceId
public String getResourceId()
The unique identifier string for the resource associated with the scaling activity. For Amazon ECS services, this value is the resource type, followed by the cluster name and service name, such as
service/default/sample-webapp
. If you specify a scalable dimension, you must also specify a resource ID.- Returns:
- The unique identifier string for the resource associated with the
scaling activity. For Amazon ECS services, this value is the
resource type, followed by the cluster name and service name,
such as
service/default/sample-webapp
. If you specify a scalable dimension, you must also specify a resource ID.
-
withResourceId
public DescribeScalingActivitiesRequest withResourceId(String resourceId)
The unique identifier string for the resource associated with the scaling activity. For Amazon ECS services, this value is the resource type, followed by the cluster name and service name, such as
service/default/sample-webapp
. If you specify a scalable dimension, you must also specify a resource ID.- Parameters:
resourceId
- The unique identifier string for the resource associated with the scaling activity. For Amazon ECS services, this value is the resource type, followed by the cluster name and service name, such asservice/default/sample-webapp
. If you specify a scalable dimension, you must also specify a resource ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setScalableDimension
public void setScalableDimension(String scalableDimension)
The scalable dimension associated with the scaling activity. The scalable dimension contains the service namespace, resource type, and scaling property, such as
ecs:service:DesiredCount
for the desired task count of an Amazon ECS service. If you specify a scalable dimension, you must also specify a resource ID.- Parameters:
scalableDimension
- The scalable dimension associated with the scaling activity. The scalable dimension contains the service namespace, resource type, and scaling property, such asecs:service:DesiredCount
for the desired task count of an Amazon ECS service. If you specify a scalable dimension, you must also specify a resource ID.- See Also:
ScalableDimension
-
getScalableDimension
public String getScalableDimension()
The scalable dimension associated with the scaling activity. The scalable dimension contains the service namespace, resource type, and scaling property, such as
ecs:service:DesiredCount
for the desired task count of an Amazon ECS service. If you specify a scalable dimension, you must also specify a resource ID.- Returns:
- The scalable dimension associated with the scaling activity. The
scalable dimension contains the service namespace, resource type,
and scaling property, such as
ecs:service:DesiredCount
for the desired task count of an Amazon ECS service. If you specify a scalable dimension, you must also specify a resource ID. - See Also:
ScalableDimension
-
withScalableDimension
public DescribeScalingActivitiesRequest withScalableDimension(String scalableDimension)
The scalable dimension associated with the scaling activity. The scalable dimension contains the service namespace, resource type, and scaling property, such as
ecs:service:DesiredCount
for the desired task count of an Amazon ECS service. If you specify a scalable dimension, you must also specify a resource ID.- Parameters:
scalableDimension
- The scalable dimension associated with the scaling activity. The scalable dimension contains the service namespace, resource type, and scaling property, such asecs:service:DesiredCount
for the desired task count of an Amazon ECS service. If you specify a scalable dimension, you must also specify a resource ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ScalableDimension
-
setScalableDimension
public void setScalableDimension(ScalableDimension scalableDimension)
The scalable dimension associated with the scaling activity. The scalable dimension contains the service namespace, resource type, and scaling property, such as
ecs:service:DesiredCount
for the desired task count of an Amazon ECS service. If you specify a scalable dimension, you must also specify a resource ID.- Parameters:
scalableDimension
- The scalable dimension associated with the scaling activity. The scalable dimension contains the service namespace, resource type, and scaling property, such asecs:service:DesiredCount
for the desired task count of an Amazon ECS service. If you specify a scalable dimension, you must also specify a resource ID.- See Also:
ScalableDimension
-
withScalableDimension
public DescribeScalingActivitiesRequest withScalableDimension(ScalableDimension scalableDimension)
The scalable dimension associated with the scaling activity. The scalable dimension contains the service namespace, resource type, and scaling property, such as
ecs:service:DesiredCount
for the desired task count of an Amazon ECS service. If you specify a scalable dimension, you must also specify a resource ID.- Parameters:
scalableDimension
- The scalable dimension associated with the scaling activity. The scalable dimension contains the service namespace, resource type, and scaling property, such asecs:service:DesiredCount
for the desired task count of an Amazon ECS service. If you specify a scalable dimension, you must also specify a resource ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ScalableDimension
-
setMaxResults
public void setMaxResults(Integer maxResults)
The maximum number of scaling activity results returned by
DescribeScalingActivities
in paginated output. When this parameter is used,DescribeScalingActivities
returns up toMaxResults
results in a single page along with aNextToken
response element. The remaining results of the initial request can be seen by sending anotherDescribeScalingActivities
request with the returnedNextToken
value. This value can be between 1 and 50. If this parameter is not used, thenDescribeScalingActivities
returns up to 50 results and aNextToken
value, if applicable.- Parameters:
maxResults
- The maximum number of scaling activity results returned byDescribeScalingActivities
in paginated output. When this parameter is used,DescribeScalingActivities
returns up toMaxResults
results in a single page along with aNextToken
response element. The remaining results of the initial request can be seen by sending anotherDescribeScalingActivities
request with the returnedNextToken
value. This value can be between 1 and 50. If this parameter is not used, thenDescribeScalingActivities
returns up to 50 results and aNextToken
value, if applicable.
-
getMaxResults
public Integer getMaxResults()
The maximum number of scaling activity results returned by
DescribeScalingActivities
in paginated output. When this parameter is used,DescribeScalingActivities
returns up toMaxResults
results in a single page along with aNextToken
response element. The remaining results of the initial request can be seen by sending anotherDescribeScalingActivities
request with the returnedNextToken
value. This value can be between 1 and 50. If this parameter is not used, thenDescribeScalingActivities
returns up to 50 results and aNextToken
value, if applicable.- Returns:
- The maximum number of scaling activity results returned by
DescribeScalingActivities
in paginated output. When this parameter is used,DescribeScalingActivities
returns up toMaxResults
results in a single page along with aNextToken
response element. The remaining results of the initial request can be seen by sending anotherDescribeScalingActivities
request with the returnedNextToken
value. This value can be between 1 and 50. If this parameter is not used, thenDescribeScalingActivities
returns up to 50 results and aNextToken
value, if applicable.
-
withMaxResults
public DescribeScalingActivitiesRequest withMaxResults(Integer maxResults)
The maximum number of scaling activity results returned by
DescribeScalingActivities
in paginated output. When this parameter is used,DescribeScalingActivities
returns up toMaxResults
results in a single page along with aNextToken
response element. The remaining results of the initial request can be seen by sending anotherDescribeScalingActivities
request with the returnedNextToken
value. This value can be between 1 and 50. If this parameter is not used, thenDescribeScalingActivities
returns up to 50 results and aNextToken
value, if applicable.- Parameters:
maxResults
- The maximum number of scaling activity results returned byDescribeScalingActivities
in paginated output. When this parameter is used,DescribeScalingActivities
returns up toMaxResults
results in a single page along with aNextToken
response element. The remaining results of the initial request can be seen by sending anotherDescribeScalingActivities
request with the returnedNextToken
value. This value can be between 1 and 50. If this parameter is not used, thenDescribeScalingActivities
returns up to 50 results and aNextToken
value, if applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
public void setNextToken(String nextToken)
The
NextToken
value returned from a previous paginatedDescribeScalingActivities
request. Pagination continues from the end of the previous results that returned theNextToken
value. This value isnull
when there are no more results to return.- Parameters:
nextToken
- TheNextToken
value returned from a previous paginatedDescribeScalingActivities
request. Pagination continues from the end of the previous results that returned theNextToken
value. This value isnull
when there are no more results to return.
-
getNextToken
public String getNextToken()
The
NextToken
value returned from a previous paginatedDescribeScalingActivities
request. Pagination continues from the end of the previous results that returned theNextToken
value. This value isnull
when there are no more results to return.- Returns:
- The
NextToken
value returned from a previous paginatedDescribeScalingActivities
request. Pagination continues from the end of the previous results that returned theNextToken
value. This value isnull
when there are no more results to return.
-
withNextToken
public DescribeScalingActivitiesRequest withNextToken(String nextToken)
The
NextToken
value returned from a previous paginatedDescribeScalingActivities
request. Pagination continues from the end of the previous results that returned theNextToken
value. This value isnull
when there are no more results to return.- Parameters:
nextToken
- TheNextToken
value returned from a previous paginatedDescribeScalingActivities
request. Pagination continues from the end of the previous results that returned theNextToken
value. This value isnull
when there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeScalingActivitiesRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-