Class DescribeScalableTargetsRequest
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a shallow clone of this request.booleanThe maximum number of scalable target results returned byDescribeScalableTargetsin paginated output.TheNextTokenvalue returned from a previous paginatedDescribeScalableTargetsrequest.The unique identifier string for the resource associated with the scalable target.The scalable dimension associated with the scalable target.The namespace for the AWS service that the scalable target is associated with.inthashCode()voidsetMaxResults(Integer maxResults) The maximum number of scalable target results returned byDescribeScalableTargetsin paginated output.voidsetNextToken(String nextToken) TheNextTokenvalue returned from a previous paginatedDescribeScalableTargetsrequest.voidsetResourceIds(Collection<String> resourceIds) The unique identifier string for the resource associated with the scalable target.voidsetScalableDimension(ScalableDimension scalableDimension) The scalable dimension associated with the scalable target.voidsetScalableDimension(String scalableDimension) The scalable dimension associated with the scalable target.voidsetServiceNamespace(ServiceNamespace serviceNamespace) The namespace for the AWS service that the scalable target is associated with.voidsetServiceNamespace(String serviceNamespace) The namespace for the AWS service that the scalable target is associated with.toString()Returns a string representation of this object; useful for testing and debugging.withMaxResults(Integer maxResults) The maximum number of scalable target results returned byDescribeScalableTargetsin paginated output.withNextToken(String nextToken) TheNextTokenvalue returned from a previous paginatedDescribeScalableTargetsrequest.withResourceIds(String... resourceIds) The unique identifier string for the resource associated with the scalable target.withResourceIds(Collection<String> resourceIds) The unique identifier string for the resource associated with the scalable target.withScalableDimension(ScalableDimension scalableDimension) The scalable dimension associated with the scalable target.withScalableDimension(String scalableDimension) The scalable dimension associated with the scalable target.withServiceNamespace(ServiceNamespace serviceNamespace) The namespace for the AWS service that the scalable target is associated with.withServiceNamespace(String serviceNamespace) The namespace for the AWS service that the scalable target 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
-
Constructor Details
-
DescribeScalableTargetsRequest
public DescribeScalableTargetsRequest()
-
-
Method Details
-
setServiceNamespace
The namespace for the AWS service that the scalable target 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 scalable target is associated with. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference.- See Also:
-
getServiceNamespace
The namespace for the AWS service that the scalable target 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 scalable target is associated with. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference.
- See Also:
-
withServiceNamespace
The namespace for the AWS service that the scalable target 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 scalable target 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:
-
setServiceNamespace
The namespace for the AWS service that the scalable target 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 scalable target is associated with. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference.- See Also:
-
withServiceNamespace
The namespace for the AWS service that the scalable target 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 scalable target 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:
-
getResourceIds
The unique identifier string for the resource associated with the scalable target. 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
scalable target. 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.
-
setResourceIds
The unique identifier string for the resource associated with the scalable target. 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:
resourceIds- The unique identifier string for the resource associated with the scalable target. 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.
-
withResourceIds
The unique identifier string for the resource associated with the scalable target. 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.NOTE: This method appends the values to the existing list (if any). Use
setResourceIds(java.util.Collection)orwithResourceIds(java.util.Collection)if you want to override the existing values.- Parameters:
resourceIds- The unique identifier string for the resource associated with the scalable target. 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.
-
withResourceIds
The unique identifier string for the resource associated with the scalable target. 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:
resourceIds- The unique identifier string for the resource associated with the scalable target. 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
The scalable dimension associated with the scalable target. The scalable dimension contains the service namespace, resource type, and scaling property, such as
ecs:service:DesiredCountfor 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 scalable target. The scalable dimension contains the service namespace, resource type, and scaling property, such asecs:service:DesiredCountfor the desired task count of an Amazon ECS service. If you specify a scalable dimension, you must also specify a resource ID.- See Also:
-
getScalableDimension
The scalable dimension associated with the scalable target. The scalable dimension contains the service namespace, resource type, and scaling property, such as
ecs:service:DesiredCountfor 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 scalable target. The
scalable dimension contains the service namespace, resource type,
and scaling property, such as
ecs:service:DesiredCountfor the desired task count of an Amazon ECS service. If you specify a scalable dimension, you must also specify a resource ID. - See Also:
-
withScalableDimension
The scalable dimension associated with the scalable target. The scalable dimension contains the service namespace, resource type, and scaling property, such as
ecs:service:DesiredCountfor 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 scalable target. The scalable dimension contains the service namespace, resource type, and scaling property, such asecs:service:DesiredCountfor 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:
-
setScalableDimension
The scalable dimension associated with the scalable target. The scalable dimension contains the service namespace, resource type, and scaling property, such as
ecs:service:DesiredCountfor 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 scalable target. The scalable dimension contains the service namespace, resource type, and scaling property, such asecs:service:DesiredCountfor the desired task count of an Amazon ECS service. If you specify a scalable dimension, you must also specify a resource ID.- See Also:
-
withScalableDimension
The scalable dimension associated with the scalable target. The scalable dimension contains the service namespace, resource type, and scaling property, such as
ecs:service:DesiredCountfor 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 scalable target. The scalable dimension contains the service namespace, resource type, and scaling property, such asecs:service:DesiredCountfor 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:
-
setMaxResults
The maximum number of scalable target results returned by
DescribeScalableTargetsin paginated output. When this parameter is used,DescribeScalableTargetsreturns up toMaxResultsresults in a single page along with aNextTokenresponse element. The remaining results of the initial request can be seen by sending anotherDescribeScalableTargetsrequest with the returnedNextTokenvalue. This value can be between 1 and 50. If this parameter is not used, thenDescribeScalableTargetsreturns up to 50 results and aNextTokenvalue, if applicable.- Parameters:
maxResults- The maximum number of scalable target results returned byDescribeScalableTargetsin paginated output. When this parameter is used,DescribeScalableTargetsreturns up toMaxResultsresults in a single page along with aNextTokenresponse element. The remaining results of the initial request can be seen by sending anotherDescribeScalableTargetsrequest with the returnedNextTokenvalue. This value can be between 1 and 50. If this parameter is not used, thenDescribeScalableTargetsreturns up to 50 results and aNextTokenvalue, if applicable.
-
getMaxResults
The maximum number of scalable target results returned by
DescribeScalableTargetsin paginated output. When this parameter is used,DescribeScalableTargetsreturns up toMaxResultsresults in a single page along with aNextTokenresponse element. The remaining results of the initial request can be seen by sending anotherDescribeScalableTargetsrequest with the returnedNextTokenvalue. This value can be between 1 and 50. If this parameter is not used, thenDescribeScalableTargetsreturns up to 50 results and aNextTokenvalue, if applicable.- Returns:
- The maximum number of scalable target results returned by
DescribeScalableTargetsin paginated output. When this parameter is used,DescribeScalableTargetsreturns up toMaxResultsresults in a single page along with aNextTokenresponse element. The remaining results of the initial request can be seen by sending anotherDescribeScalableTargetsrequest with the returnedNextTokenvalue. This value can be between 1 and 50. If this parameter is not used, thenDescribeScalableTargetsreturns up to 50 results and aNextTokenvalue, if applicable.
-
withMaxResults
The maximum number of scalable target results returned by
DescribeScalableTargetsin paginated output. When this parameter is used,DescribeScalableTargetsreturns up toMaxResultsresults in a single page along with aNextTokenresponse element. The remaining results of the initial request can be seen by sending anotherDescribeScalableTargetsrequest with the returnedNextTokenvalue. This value can be between 1 and 50. If this parameter is not used, thenDescribeScalableTargetsreturns up to 50 results and aNextTokenvalue, if applicable.- Parameters:
maxResults- The maximum number of scalable target results returned byDescribeScalableTargetsin paginated output. When this parameter is used,DescribeScalableTargetsreturns up toMaxResultsresults in a single page along with aNextTokenresponse element. The remaining results of the initial request can be seen by sending anotherDescribeScalableTargetsrequest with the returnedNextTokenvalue. This value can be between 1 and 50. If this parameter is not used, thenDescribeScalableTargetsreturns up to 50 results and aNextTokenvalue, if applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
The
NextTokenvalue returned from a previous paginatedDescribeScalableTargetsrequest. Pagination continues from the end of the previous results that returned theNextTokenvalue. This value isnullwhen there are no more results to return.- Parameters:
nextToken- TheNextTokenvalue returned from a previous paginatedDescribeScalableTargetsrequest. Pagination continues from the end of the previous results that returned theNextTokenvalue. This value isnullwhen there are no more results to return.
-
getNextToken
The
NextTokenvalue returned from a previous paginatedDescribeScalableTargetsrequest. Pagination continues from the end of the previous results that returned theNextTokenvalue. This value isnullwhen there are no more results to return.- Returns:
- The
NextTokenvalue returned from a previous paginatedDescribeScalableTargetsrequest. Pagination continues from the end of the previous results that returned theNextTokenvalue. This value isnullwhen there are no more results to return.
-
withNextToken
The
NextTokenvalue returned from a previous paginatedDescribeScalableTargetsrequest. Pagination continues from the end of the previous results that returned theNextTokenvalue. This value isnullwhen there are no more results to return.- Parameters:
nextToken- TheNextTokenvalue returned from a previous paginatedDescribeScalableTargetsrequest. Pagination continues from the end of the previous results that returned theNextTokenvalue. This value isnullwhen there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
-