public class DescribeScalingPoliciesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
DescribeScalingPoliciesRequest() |
| Modifier and Type | Method and Description |
|---|---|
DescribeScalingPoliciesRequest |
clone() |
boolean |
equals(Object obj) |
Integer |
getMaxResults()
The maximum number of scaling policy results returned by
DescribeScalingPolicies in paginated
output. |
String |
getNextToken()
The
NextToken value returned from a previous paginated DescribeScalingPolicies request. |
List<String> |
getPolicyNames()
The names of the scaling policies to describe.
|
String |
getResourceId()
The unique resource identifier string of the scalable target that the scaling policy is associated with.
|
String |
getScalableDimension()
The scalable dimension of the scalable target that the scaling policy is associated with.
|
String |
getServiceNamespace()
The AWS service namespace of the scalable target that the scaling policy is associated with.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum number of scaling policy results returned by
DescribeScalingPolicies in paginated
output. |
void |
setNextToken(String nextToken)
The
NextToken value returned from a previous paginated DescribeScalingPolicies request. |
void |
setPolicyNames(Collection<String> policyNames)
The names of the scaling policies to describe.
|
void |
setResourceId(String resourceId)
The unique resource identifier string of the scalable target that the scaling policy is associated with.
|
void |
setScalableDimension(ScalableDimension scalableDimension)
The scalable dimension of the scalable target that the scaling policy is associated with.
|
void |
setScalableDimension(String scalableDimension)
The scalable dimension of the scalable target that the scaling policy is associated with.
|
void |
setServiceNamespace(ServiceNamespace serviceNamespace)
The AWS service namespace of the scalable target that the scaling policy is associated with.
|
void |
setServiceNamespace(String serviceNamespace)
The AWS service namespace of the scalable target that the scaling policy is associated with.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeScalingPoliciesRequest |
withMaxResults(Integer maxResults)
The maximum number of scaling policy results returned by
DescribeScalingPolicies in paginated
output. |
DescribeScalingPoliciesRequest |
withNextToken(String nextToken)
The
NextToken value returned from a previous paginated DescribeScalingPolicies request. |
DescribeScalingPoliciesRequest |
withPolicyNames(Collection<String> policyNames)
The names of the scaling policies to describe.
|
DescribeScalingPoliciesRequest |
withPolicyNames(String... policyNames)
The names of the scaling policies to describe.
|
DescribeScalingPoliciesRequest |
withResourceId(String resourceId)
The unique resource identifier string of the scalable target that the scaling policy is associated with.
|
DescribeScalingPoliciesRequest |
withScalableDimension(ScalableDimension scalableDimension)
The scalable dimension of the scalable target that the scaling policy is associated with.
|
DescribeScalingPoliciesRequest |
withScalableDimension(String scalableDimension)
The scalable dimension of the scalable target that the scaling policy is associated with.
|
DescribeScalingPoliciesRequest |
withServiceNamespace(ServiceNamespace serviceNamespace)
The AWS service namespace of the scalable target that the scaling policy is associated with.
|
DescribeScalingPoliciesRequest |
withServiceNamespace(String serviceNamespace)
The AWS service namespace of the scalable target that the scaling policy 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, withSdkRequestTimeoutpublic List<String> getPolicyNames()
The names of the scaling policies to describe.
public void setPolicyNames(Collection<String> policyNames)
The names of the scaling policies to describe.
policyNames - The names of the scaling policies to describe.public DescribeScalingPoliciesRequest withPolicyNames(String... policyNames)
The names of the scaling policies to describe.
NOTE: This method appends the values to the existing list (if any). Use
setPolicyNames(java.util.Collection) or withPolicyNames(java.util.Collection) if you want to
override the existing values.
policyNames - The names of the scaling policies to describe.public DescribeScalingPoliciesRequest withPolicyNames(Collection<String> policyNames)
The names of the scaling policies to describe.
policyNames - The names of the scaling policies to describe.public void setServiceNamespace(String serviceNamespace)
The AWS service namespace of the scalable target that the scaling policy is associated with. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference.
serviceNamespace - The AWS service namespace of the scalable target that the scaling policy is associated with. For more
information, see AWS Service Namespaces in the Amazon Web Services General Reference.ServiceNamespacepublic String getServiceNamespace()
The AWS service namespace of the scalable target that the scaling policy is associated with. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference.
ServiceNamespacepublic DescribeScalingPoliciesRequest withServiceNamespace(String serviceNamespace)
The AWS service namespace of the scalable target that the scaling policy is associated with. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference.
serviceNamespace - The AWS service namespace of the scalable target that the scaling policy is associated with. For more
information, see AWS Service Namespaces in the Amazon Web Services General Reference.ServiceNamespacepublic void setServiceNamespace(ServiceNamespace serviceNamespace)
The AWS service namespace of the scalable target that the scaling policy is associated with. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference.
serviceNamespace - The AWS service namespace of the scalable target that the scaling policy is associated with. For more
information, see AWS Service Namespaces in the Amazon Web Services General Reference.ServiceNamespacepublic DescribeScalingPoliciesRequest withServiceNamespace(ServiceNamespace serviceNamespace)
The AWS service namespace of the scalable target that the scaling policy is associated with. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference.
serviceNamespace - The AWS service namespace of the scalable target that the scaling policy is associated with. For more
information, see AWS Service Namespaces in the Amazon Web Services General Reference.ServiceNamespacepublic void setResourceId(String resourceId)
The unique resource identifier string of the scalable target that the scaling policy is associated with. For
Amazon ECS services, the resource type is services, and the identifier is the cluster name and
service name; for example, service/default/sample-webapp. For Amazon EC2 Spot fleet requests, the
resource type is spot-fleet-request, and the identifier is the Spot fleet request ID; for example,
spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. If you specify a scalable dimension,
you must also specify a resource ID.
resourceId - The unique resource identifier string of the scalable target that the scaling policy is associated with.
For Amazon ECS services, the resource type is services, and the identifier is the cluster
name and service name; for example, service/default/sample-webapp. For Amazon EC2 Spot fleet
requests, the resource type is spot-fleet-request, and the identifier is the Spot fleet
request ID; for example, spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. If you
specify a scalable dimension, you must also specify a resource ID.public String getResourceId()
The unique resource identifier string of the scalable target that the scaling policy is associated with. For
Amazon ECS services, the resource type is services, and the identifier is the cluster name and
service name; for example, service/default/sample-webapp. For Amazon EC2 Spot fleet requests, the
resource type is spot-fleet-request, and the identifier is the Spot fleet request ID; for example,
spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. If you specify a scalable dimension,
you must also specify a resource ID.
services, and the identifier is the cluster
name and service name; for example, service/default/sample-webapp. For Amazon EC2 Spot fleet
requests, the resource type is spot-fleet-request, and the identifier is the Spot fleet
request ID; for example, spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. If you
specify a scalable dimension, you must also specify a resource ID.public DescribeScalingPoliciesRequest withResourceId(String resourceId)
The unique resource identifier string of the scalable target that the scaling policy is associated with. For
Amazon ECS services, the resource type is services, and the identifier is the cluster name and
service name; for example, service/default/sample-webapp. For Amazon EC2 Spot fleet requests, the
resource type is spot-fleet-request, and the identifier is the Spot fleet request ID; for example,
spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. If you specify a scalable dimension,
you must also specify a resource ID.
resourceId - The unique resource identifier string of the scalable target that the scaling policy is associated with.
For Amazon ECS services, the resource type is services, and the identifier is the cluster
name and service name; for example, service/default/sample-webapp. For Amazon EC2 Spot fleet
requests, the resource type is spot-fleet-request, and the identifier is the Spot fleet
request ID; for example, spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE. If you
specify a scalable dimension, you must also specify a resource ID.public void setScalableDimension(String scalableDimension)
The scalable dimension of the scalable target that the scaling policy is associated with. 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, or
ec2:spot-fleet-request:TargetCapacity for the target capacity of an Amazon EC2 Spot fleet request.
If you specify a scalable dimension, you must also specify a resource ID.
scalableDimension - The scalable dimension of the scalable target that the scaling policy is associated with. 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, or
ec2:spot-fleet-request:TargetCapacity for the target capacity of an Amazon EC2 Spot fleet
request. If you specify a scalable dimension, you must also specify a resource ID.ScalableDimensionpublic String getScalableDimension()
The scalable dimension of the scalable target that the scaling policy is associated with. 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, or
ec2:spot-fleet-request:TargetCapacity for the target capacity of an Amazon EC2 Spot fleet request.
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, or
ec2:spot-fleet-request:TargetCapacity for the target capacity of an Amazon EC2 Spot fleet
request. If you specify a scalable dimension, you must also specify a resource ID.ScalableDimensionpublic DescribeScalingPoliciesRequest withScalableDimension(String scalableDimension)
The scalable dimension of the scalable target that the scaling policy is associated with. 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, or
ec2:spot-fleet-request:TargetCapacity for the target capacity of an Amazon EC2 Spot fleet request.
If you specify a scalable dimension, you must also specify a resource ID.
scalableDimension - The scalable dimension of the scalable target that the scaling policy is associated with. 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, or
ec2:spot-fleet-request:TargetCapacity for the target capacity of an Amazon EC2 Spot fleet
request. If you specify a scalable dimension, you must also specify a resource ID.ScalableDimensionpublic void setScalableDimension(ScalableDimension scalableDimension)
The scalable dimension of the scalable target that the scaling policy is associated with. 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, or
ec2:spot-fleet-request:TargetCapacity for the target capacity of an Amazon EC2 Spot fleet request.
If you specify a scalable dimension, you must also specify a resource ID.
scalableDimension - The scalable dimension of the scalable target that the scaling policy is associated with. 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, or
ec2:spot-fleet-request:TargetCapacity for the target capacity of an Amazon EC2 Spot fleet
request. If you specify a scalable dimension, you must also specify a resource ID.ScalableDimensionpublic DescribeScalingPoliciesRequest withScalableDimension(ScalableDimension scalableDimension)
The scalable dimension of the scalable target that the scaling policy is associated with. 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, or
ec2:spot-fleet-request:TargetCapacity for the target capacity of an Amazon EC2 Spot fleet request.
If you specify a scalable dimension, you must also specify a resource ID.
scalableDimension - The scalable dimension of the scalable target that the scaling policy is associated with. 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, or
ec2:spot-fleet-request:TargetCapacity for the target capacity of an Amazon EC2 Spot fleet
request. If you specify a scalable dimension, you must also specify a resource ID.ScalableDimensionpublic void setMaxResults(Integer maxResults)
The maximum number of scaling policy results returned by DescribeScalingPolicies in paginated
output. When this parameter is used, DescribeScalingPolicies 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 DescribeScalingPolicies request with the returned
NextToken value. This value can be between 1 and 50. If this parameter is not used, then
DescribeScalingPolicies returns up to 50 results and a NextToken value, if applicable.
maxResults - The maximum number of scaling policy results returned by DescribeScalingPolicies in paginated
output. When this parameter is used, DescribeScalingPolicies 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
DescribeScalingPolicies request with the returned NextToken value. This value
can be between 1 and 50. If this parameter is not used, then DescribeScalingPolicies returns
up to 50 results and a NextToken value, if applicable.public Integer getMaxResults()
The maximum number of scaling policy results returned by DescribeScalingPolicies in paginated
output. When this parameter is used, DescribeScalingPolicies 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 DescribeScalingPolicies request with the returned
NextToken value. This value can be between 1 and 50. If this parameter is not used, then
DescribeScalingPolicies returns up to 50 results and a NextToken value, if applicable.
DescribeScalingPolicies in
paginated output. When this parameter is used, DescribeScalingPolicies 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
DescribeScalingPolicies request with the returned NextToken value. This value
can be between 1 and 50. If this parameter is not used, then DescribeScalingPolicies returns
up to 50 results and a NextToken value, if applicable.public DescribeScalingPoliciesRequest withMaxResults(Integer maxResults)
The maximum number of scaling policy results returned by DescribeScalingPolicies in paginated
output. When this parameter is used, DescribeScalingPolicies 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 DescribeScalingPolicies request with the returned
NextToken value. This value can be between 1 and 50. If this parameter is not used, then
DescribeScalingPolicies returns up to 50 results and a NextToken value, if applicable.
maxResults - The maximum number of scaling policy results returned by DescribeScalingPolicies in paginated
output. When this parameter is used, DescribeScalingPolicies 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
DescribeScalingPolicies request with the returned NextToken value. This value
can be between 1 and 50. If this parameter is not used, then DescribeScalingPolicies returns
up to 50 results and a NextToken value, if applicable.public void setNextToken(String nextToken)
The NextToken value returned from a previous paginated DescribeScalingPolicies 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 DescribeScalingPolicies
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 DescribeScalingPolicies 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 DescribeScalingPolicies
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 DescribeScalingPoliciesRequest withNextToken(String nextToken)
The NextToken value returned from a previous paginated DescribeScalingPolicies 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 DescribeScalingPolicies
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 ObjectObject.toString()public DescribeScalingPoliciesRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2016. All rights reserved.