public class DeleteScalingPolicyRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
policyName
The name of the scaling policy to delete.
|
private java.lang.String |
resourceId
The unique identifier string for the resource associated with the scaling
policy.
|
private java.lang.String |
scalableDimension
The scalable dimension associated with the scaling policy.
|
private java.lang.String |
serviceNamespace
The namespace for the AWS service that the scaling policy is associated
with.
|
NOOP
Constructor and Description |
---|
DeleteScalingPolicyRequest() |
Modifier and Type | Method and Description |
---|---|
DeleteScalingPolicyRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getPolicyName()
The name of the scaling policy to delete.
|
java.lang.String |
getResourceId()
The unique identifier string for the resource associated with the scaling
policy.
|
java.lang.String |
getScalableDimension()
The scalable dimension associated with the scaling policy.
|
java.lang.String |
getServiceNamespace()
The namespace for the AWS service that the scaling policy is associated
with.
|
int |
hashCode() |
void |
setPolicyName(java.lang.String policyName)
The name of the scaling policy to delete.
|
void |
setResourceId(java.lang.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(java.lang.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(java.lang.String serviceNamespace)
The namespace for the AWS service that the scaling policy is associated
with.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteScalingPolicyRequest |
withPolicyName(java.lang.String policyName)
The name of the scaling policy to delete.
|
DeleteScalingPolicyRequest |
withResourceId(java.lang.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(java.lang.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(java.lang.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
private java.lang.String policyName
The name of the scaling policy to delete.
private java.lang.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.
private java.lang.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
.
private java.lang.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.
public void setPolicyName(java.lang.String policyName)
The name of the scaling policy to delete.
policyName
- The name of the scaling policy to delete.public java.lang.String getPolicyName()
The name of the scaling policy to delete.
public DeleteScalingPolicyRequest withPolicyName(java.lang.String policyName)
The name of the scaling policy to delete.
policyName
- The name of the scaling policy to delete.public void setServiceNamespace(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.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(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DeleteScalingPolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()