public class DescribeScalableTargetsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DescribeScalableTargetsRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeScalableTargetsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
Integer |
getMaxResults()
The maximum number of scalable target results returned by
DescribeScalableTargets in paginated output. |
String |
getNextToken()
The
NextToken value returned from a previous paginated
DescribeScalableTargets request. |
List<String> |
getResourceIds()
The unique identifier string for the resource associated with the
scalable target.
|
String |
getScalableDimension()
The scalable dimension associated with the scalable target.
|
String |
getServiceNamespace()
The namespace for the AWS service that the scalable target is associated
with.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum number of scalable target results returned by
DescribeScalableTargets in paginated output. |
void |
setNextToken(String nextToken)
The
NextToken value returned from a previous paginated
DescribeScalableTargets request. |
void |
setResourceIds(Collection<String> resourceIds)
The unique identifier string for the resource associated with the
scalable target.
|
void |
setScalableDimension(ScalableDimension scalableDimension)
The scalable dimension associated with the scalable target.
|
void |
setScalableDimension(String scalableDimension)
The scalable dimension associated with the scalable target.
|
void |
setServiceNamespace(ServiceNamespace serviceNamespace)
The namespace for the AWS service that the scalable target is associated
with.
|
void |
setServiceNamespace(String serviceNamespace)
The namespace for the AWS service that the scalable target is associated
with.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeScalableTargetsRequest |
withMaxResults(Integer maxResults)
The maximum number of scalable target results returned by
DescribeScalableTargets in paginated output. |
DescribeScalableTargetsRequest |
withNextToken(String nextToken)
The
NextToken value returned from a previous paginated
DescribeScalableTargets request. |
DescribeScalableTargetsRequest |
withResourceIds(Collection<String> resourceIds)
The unique identifier string for the resource associated with the
scalable target.
|
DescribeScalableTargetsRequest |
withResourceIds(String... resourceIds)
The unique identifier string for the resource associated with the
scalable target.
|
DescribeScalableTargetsRequest |
withScalableDimension(ScalableDimension scalableDimension)
The scalable dimension associated with the scalable target.
|
DescribeScalableTargetsRequest |
withScalableDimension(String scalableDimension)
The scalable dimension associated with the scalable target.
|
DescribeScalableTargetsRequest |
withServiceNamespace(ServiceNamespace serviceNamespace)
The namespace for the AWS service that the scalable target is associated
with.
|
DescribeScalableTargetsRequest |
withServiceNamespace(String serviceNamespace)
The namespace for the AWS service that the scalable target is associated
with.
|
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
public void setServiceNamespace(String 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.
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.ServiceNamespace
public String 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.
ServiceNamespace
public DescribeScalableTargetsRequest withServiceNamespace(String 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.
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.ServiceNamespace
public void setServiceNamespace(ServiceNamespace 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.
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.ServiceNamespace
public DescribeScalableTargetsRequest withServiceNamespace(ServiceNamespace 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.
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.ServiceNamespace
public List<String> 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.
service/default/sample-webapp
. If you
specify a scalable dimension, you must also specify a resource
ID.public void setResourceIds(Collection<String> 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 as
service/default/sample-webapp
. If you specify a scalable
dimension, you must also specify a resource ID.
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
as service/default/sample-webapp
. If you specify a
scalable dimension, you must also specify a resource ID.public DescribeScalableTargetsRequest withResourceIds(String... 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 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)
or
withResourceIds(java.util.Collection)
if you want to override
the existing values.
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
as service/default/sample-webapp
. If you specify a
scalable dimension, you must also specify a resource ID.public DescribeScalableTargetsRequest withResourceIds(Collection<String> 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 as
service/default/sample-webapp
. If you specify a scalable
dimension, you must also specify a resource ID.
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
as service/default/sample-webapp
. If you specify a
scalable dimension, you must also specify a resource ID.public void setScalableDimension(String scalableDimension)
The scalable dimension associated with the scalable target. 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.
scalableDimension
- The scalable dimension associated with the scalable target. 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.ScalableDimension
public String 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:DesiredCount
for the desired
task count of an Amazon ECS service. If you specify a scalable dimension,
you must also specify a resource ID.
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.ScalableDimension
public DescribeScalableTargetsRequest withScalableDimension(String scalableDimension)
The scalable dimension associated with the scalable target. 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.
scalableDimension
- The scalable dimension associated with the scalable target. 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.ScalableDimension
public void setScalableDimension(ScalableDimension scalableDimension)
The scalable dimension associated with the scalable target. 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.
scalableDimension
- The scalable dimension associated with the scalable target. 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.ScalableDimension
public DescribeScalableTargetsRequest withScalableDimension(ScalableDimension scalableDimension)
The scalable dimension associated with the scalable target. 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.
scalableDimension
- The scalable dimension associated with the scalable target. 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.ScalableDimension
public void setMaxResults(Integer maxResults)
The maximum number of scalable target results returned by
DescribeScalableTargets
in paginated output. When this
parameter is used, DescribeScalableTargets
returns up to
MaxResults
results in a single page along with a
NextToken
response element. The remaining results of the
initial request can be seen by sending another
DescribeScalableTargets
request with the returned
NextToken
value. This value can be between 1 and 50. If this
parameter is not used, then DescribeScalableTargets
returns
up to 50 results and a NextToken
value, if applicable.
maxResults
- The maximum number of scalable target results returned by
DescribeScalableTargets
in paginated output. When
this parameter is used, DescribeScalableTargets
returns up to MaxResults
results in a single page
along with a NextToken
response element. The
remaining results of the initial request can be seen by sending
another DescribeScalableTargets
request with the
returned NextToken
value. This value can be between 1
and 50. If this parameter is not used, then
DescribeScalableTargets
returns up to 50 results and
a NextToken
value, if applicable.public Integer getMaxResults()
The maximum number of scalable target results returned by
DescribeScalableTargets
in paginated output. When this
parameter is used, DescribeScalableTargets
returns up to
MaxResults
results in a single page along with a
NextToken
response element. The remaining results of the
initial request can be seen by sending another
DescribeScalableTargets
request with the returned
NextToken
value. This value can be between 1 and 50. If this
parameter is not used, then DescribeScalableTargets
returns
up to 50 results and a NextToken
value, if applicable.
DescribeScalableTargets
in paginated output. When
this parameter is used, DescribeScalableTargets
returns up to MaxResults
results in a single page
along with a NextToken
response element. The
remaining results of the initial request can be seen by sending
another DescribeScalableTargets
request with the
returned NextToken
value. This value can be between
1 and 50. If this parameter is not used, then
DescribeScalableTargets
returns up to 50 results and
a NextToken
value, if applicable.public DescribeScalableTargetsRequest withMaxResults(Integer maxResults)
The maximum number of scalable target results returned by
DescribeScalableTargets
in paginated output. When this
parameter is used, DescribeScalableTargets
returns up to
MaxResults
results in a single page along with a
NextToken
response element. The remaining results of the
initial request can be seen by sending another
DescribeScalableTargets
request with the returned
NextToken
value. This value can be between 1 and 50. If this
parameter is not used, then DescribeScalableTargets
returns
up to 50 results and a NextToken
value, if applicable.
maxResults
- The maximum number of scalable target results returned by
DescribeScalableTargets
in paginated output. When
this parameter is used, DescribeScalableTargets
returns up to MaxResults
results in a single page
along with a NextToken
response element. The
remaining results of the initial request can be seen by sending
another DescribeScalableTargets
request with the
returned NextToken
value. This value can be between 1
and 50. If this parameter is not used, then
DescribeScalableTargets
returns up to 50 results and
a NextToken
value, if applicable.public void setNextToken(String nextToken)
The NextToken
value returned from a previous paginated
DescribeScalableTargets
request. Pagination continues from
the end of the previous results that returned the NextToken
value. This value is null
when there are no more results to
return.
nextToken
- The NextToken
value returned from a previous
paginated DescribeScalableTargets
request. Pagination
continues from the end of the previous results that returned the
NextToken
value. This value is null
when
there are no more results to return.public String getNextToken()
The NextToken
value returned from a previous paginated
DescribeScalableTargets
request. Pagination continues from
the end of the previous results that returned the NextToken
value. This value is null
when there are no more results to
return.
NextToken
value returned from a previous
paginated DescribeScalableTargets
request.
Pagination continues from the end of the previous results that
returned the NextToken
value. This value is
null
when there are no more results to return.public DescribeScalableTargetsRequest withNextToken(String nextToken)
The NextToken
value returned from a previous paginated
DescribeScalableTargets
request. Pagination continues from
the end of the previous results that returned the NextToken
value. This value is null
when there are no more results to
return.
nextToken
- The NextToken
value returned from a previous
paginated DescribeScalableTargets
request. Pagination
continues from the end of the previous results that returned the
NextToken
value. This value is null
when
there are no more results to return.public String toString()
toString
in class Object
Object.toString()
public DescribeScalableTargetsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2018. All rights reserved.