public class DeleteScalingPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DeleteScalingPolicyRequest() |
Modifier and Type | Method and Description |
---|---|
DeleteScalingPolicyRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getPolicyName()
The name of the scaling policy to delete.
|
String |
getResourceId()
The unique identifier string for the resource associated with the scaling
policy.
|
String |
getScalableDimension()
The scalable dimension associated with the scaling policy.
|
String |
getServiceNamespace()
The namespace for the AWS service that the scaling policy is associated
with.
|
int |
hashCode() |
void |
setPolicyName(String policyName)
The name of the scaling policy to delete.
|
void |
setResourceId(String resourceId)
The unique identifier string for the resource associated with the scaling
policy.
|
void |
setScalableDimension(ScalableDimension scalableDimension)
The scalable dimension associated with the scaling policy.
|
void |
setScalableDimension(String scalableDimension)
The scalable dimension associated with the scaling policy.
|
void |
setServiceNamespace(ServiceNamespace serviceNamespace)
The namespace for the AWS service that the scaling policy is associated
with.
|
void |
setServiceNamespace(String serviceNamespace)
The namespace for the AWS service that the scaling policy is associated
with.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteScalingPolicyRequest |
withPolicyName(String policyName)
The name of the scaling policy to delete.
|
DeleteScalingPolicyRequest |
withResourceId(String resourceId)
The unique identifier string for the resource associated with the scaling
policy.
|
DeleteScalingPolicyRequest |
withScalableDimension(ScalableDimension scalableDimension)
The scalable dimension associated with the scaling policy.
|
DeleteScalingPolicyRequest |
withScalableDimension(String scalableDimension)
The scalable dimension associated with the scaling policy.
|
DeleteScalingPolicyRequest |
withServiceNamespace(ServiceNamespace serviceNamespace)
The namespace for the AWS service that the scaling policy is associated
with.
|
DeleteScalingPolicyRequest |
withServiceNamespace(String serviceNamespace)
The namespace for the AWS service 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, withSdkRequestTimeout
public void setPolicyName(String policyName)
The name of the scaling policy to delete.
policyName
- The name of the scaling policy to delete.public String getPolicyName()
The name of the scaling policy to delete.
public DeleteScalingPolicyRequest withPolicyName(String policyName)
The name of the scaling policy to delete.
policyName
- The name of the scaling policy to delete.public void setServiceNamespace(String serviceNamespace)
The namespace for the AWS service that the scaling policy 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 scaling policy 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 scaling policy is associated with. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference.
ServiceNamespace
public DeleteScalingPolicyRequest withServiceNamespace(String serviceNamespace)
The namespace for the AWS service that the scaling policy 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 scaling policy 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 scaling policy 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 scaling policy is
associated with. For more information, see AWS Service Namespaces in the Amazon Web Services General
Reference.ServiceNamespace
public DeleteScalingPolicyRequest withServiceNamespace(ServiceNamespace serviceNamespace)
The namespace for the AWS service that the scaling policy 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 scaling policy is
associated with. For more information, see AWS Service Namespaces in the Amazon Web Services General
Reference.ServiceNamespace
public void setResourceId(String resourceId)
The unique identifier string for the resource associated with the scaling
policy. For Amazon ECS services, this value is the resource type,
followed by the cluster name and service name, such as
service/default/sample-webapp
.
resourceId
- The unique identifier string for the resource associated with the
scaling policy. For Amazon ECS services, this value is the
resource type, followed by the cluster name and service name, such
as service/default/sample-webapp
.public String getResourceId()
The unique identifier string for the resource associated with the scaling
policy. For Amazon ECS services, this value is the resource type,
followed by the cluster name and service name, such as
service/default/sample-webapp
.
service/default/sample-webapp
.public DeleteScalingPolicyRequest withResourceId(String resourceId)
The unique identifier string for the resource associated with the scaling
policy. For Amazon ECS services, this value is the resource type,
followed by the cluster name and service name, such as
service/default/sample-webapp
.
resourceId
- The unique identifier string for the resource associated with the
scaling policy. For Amazon ECS services, this value is the
resource type, followed by the cluster name and service name, such
as service/default/sample-webapp
.public void setScalableDimension(String scalableDimension)
The scalable dimension associated with the scaling policy. 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.
scalableDimension
- The scalable dimension associated with the scaling policy. 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.ScalableDimension
public String getScalableDimension()
The scalable dimension associated with the scaling policy. 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.
ecs:service:DesiredCount
for the desired task count
of an Amazon ECS service.ScalableDimension
public DeleteScalingPolicyRequest withScalableDimension(String scalableDimension)
The scalable dimension associated with the scaling policy. 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.
scalableDimension
- The scalable dimension associated with the scaling policy. 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.ScalableDimension
public void setScalableDimension(ScalableDimension scalableDimension)
The scalable dimension associated with the scaling policy. 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.
scalableDimension
- The scalable dimension associated with the scaling policy. 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.ScalableDimension
public DeleteScalingPolicyRequest withScalableDimension(ScalableDimension scalableDimension)
The scalable dimension associated with the scaling policy. 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.
scalableDimension
- The scalable dimension associated with the scaling policy. 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.ScalableDimension
public String toString()
toString
in class Object
Object.toString()
public DeleteScalingPolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2018. All rights reserved.