public class PutScalingPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
PutScalingPolicyRequest() |
| Modifier and Type | Method and Description |
|---|---|
PutScalingPolicyRequest |
clone() |
boolean |
equals(Object obj) |
String |
getPolicyName()
The name of the scaling policy.
|
String |
getPolicyType()
The policy type.
|
String |
getResourceId()
The unique resource identifier string for the scalable target that this
scaling policy applies to.
|
String |
getScalableDimension()
The scalable dimension of the scalable target that this scaling policy
applies to.
|
String |
getServiceNamespace()
The AWS service namespace of the scalable target that this scaling policy
applies to.
|
StepScalingPolicyConfiguration |
getStepScalingPolicyConfiguration()
The configuration for the step scaling policy.
|
int |
hashCode() |
void |
setPolicyName(String policyName)
The name of the scaling policy.
|
void |
setPolicyType(PolicyType policyType)
The policy type.
|
void |
setPolicyType(String policyType)
The policy type.
|
void |
setResourceId(String resourceId)
The unique resource identifier string for the scalable target that this
scaling policy applies to.
|
void |
setScalableDimension(ScalableDimension scalableDimension)
The scalable dimension of the scalable target that this scaling policy
applies to.
|
void |
setScalableDimension(String scalableDimension)
The scalable dimension of the scalable target that this scaling policy
applies to.
|
void |
setServiceNamespace(ServiceNamespace serviceNamespace)
The AWS service namespace of the scalable target that this scaling policy
applies to.
|
void |
setServiceNamespace(String serviceNamespace)
The AWS service namespace of the scalable target that this scaling policy
applies to.
|
void |
setStepScalingPolicyConfiguration(StepScalingPolicyConfiguration stepScalingPolicyConfiguration)
The configuration for the step scaling policy.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
PutScalingPolicyRequest |
withPolicyName(String policyName)
The name of the scaling policy.
|
PutScalingPolicyRequest |
withPolicyType(PolicyType policyType)
The policy type.
|
PutScalingPolicyRequest |
withPolicyType(String policyType)
The policy type.
|
PutScalingPolicyRequest |
withResourceId(String resourceId)
The unique resource identifier string for the scalable target that this
scaling policy applies to.
|
PutScalingPolicyRequest |
withScalableDimension(ScalableDimension scalableDimension)
The scalable dimension of the scalable target that this scaling policy
applies to.
|
PutScalingPolicyRequest |
withScalableDimension(String scalableDimension)
The scalable dimension of the scalable target that this scaling policy
applies to.
|
PutScalingPolicyRequest |
withServiceNamespace(ServiceNamespace serviceNamespace)
The AWS service namespace of the scalable target that this scaling policy
applies to.
|
PutScalingPolicyRequest |
withServiceNamespace(String serviceNamespace)
The AWS service namespace of the scalable target that this scaling policy
applies to.
|
PutScalingPolicyRequest |
withStepScalingPolicyConfiguration(StepScalingPolicyConfiguration stepScalingPolicyConfiguration)
The configuration for the step scaling policy.
|
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 void setPolicyName(String policyName)
The name of the scaling policy.
policyName - The name of the scaling policy.public String getPolicyName()
The name of the scaling policy.
public PutScalingPolicyRequest withPolicyName(String policyName)
The name of the scaling policy.
policyName - The name of the scaling policy.public void setServiceNamespace(String serviceNamespace)
The AWS service namespace of the scalable target that this scaling policy applies to. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference.
serviceNamespace - The AWS service namespace of the scalable target that this scaling
policy applies to. 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 this scaling policy applies to. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference.
ServiceNamespacepublic PutScalingPolicyRequest withServiceNamespace(String serviceNamespace)
The AWS service namespace of the scalable target that this scaling policy applies to. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference.
serviceNamespace - The AWS service namespace of the scalable target that this scaling
policy applies to. 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 this scaling policy applies to. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference.
serviceNamespace - The AWS service namespace of the scalable target that this scaling
policy applies to. For more information, see AWS Service Namespaces in the Amazon Web Services General
Reference.ServiceNamespacepublic PutScalingPolicyRequest withServiceNamespace(ServiceNamespace serviceNamespace)
The AWS service namespace of the scalable target that this scaling policy applies to. For more information, see AWS Service Namespaces in the Amazon Web Services General Reference.
serviceNamespace - The AWS service namespace of the scalable target that this scaling
policy applies to. For more information, see AWS Service Namespaces in the Amazon Web Services General
Reference.ServiceNamespacepublic void setResourceId(String resourceId)
The unique resource identifier string for the scalable target that this
scaling policy applies to. 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 resource identifier string for the scalable target that
this scaling policy applies to. 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 resource identifier string for the scalable target that this
scaling policy applies to. 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 PutScalingPolicyRequest withResourceId(String resourceId)
The unique resource identifier string for the scalable target that this
scaling policy applies to. 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 resource identifier string for the scalable target that
this scaling policy applies to. 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 of the scalable target that this scaling policy
applies to. 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 of the scalable target that this scaling
policy applies to. 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.ScalableDimensionpublic String getScalableDimension()
The scalable dimension of the scalable target that this scaling policy
applies to. 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.ScalableDimensionpublic PutScalingPolicyRequest withScalableDimension(String scalableDimension)
The scalable dimension of the scalable target that this scaling policy
applies to. 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 of the scalable target that this scaling
policy applies to. 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.ScalableDimensionpublic void setScalableDimension(ScalableDimension scalableDimension)
The scalable dimension of the scalable target that this scaling policy
applies to. 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 of the scalable target that this scaling
policy applies to. 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.ScalableDimensionpublic PutScalingPolicyRequest withScalableDimension(ScalableDimension scalableDimension)
The scalable dimension of the scalable target that this scaling policy
applies to. 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 of the scalable target that this scaling
policy applies to. 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.ScalableDimensionpublic void setPolicyType(String policyType)
The policy type. This parameter is required if you are creating a new policy.
policyType - The policy type. This parameter is required if you are creating a
new policy.PolicyTypepublic String getPolicyType()
The policy type. This parameter is required if you are creating a new policy.
PolicyTypepublic PutScalingPolicyRequest withPolicyType(String policyType)
The policy type. This parameter is required if you are creating a new policy.
policyType - The policy type. This parameter is required if you are creating a
new policy.PolicyTypepublic void setPolicyType(PolicyType policyType)
The policy type. This parameter is required if you are creating a new policy.
policyType - The policy type. This parameter is required if you are creating a
new policy.PolicyTypepublic PutScalingPolicyRequest withPolicyType(PolicyType policyType)
The policy type. This parameter is required if you are creating a new policy.
policyType - The policy type. This parameter is required if you are creating a
new policy.PolicyTypepublic void setStepScalingPolicyConfiguration(StepScalingPolicyConfiguration stepScalingPolicyConfiguration)
The configuration for the step scaling policy. This parameter is required if you are creating a new policy. For more information, see StepScalingPolicyConfiguration and StepAdjustment.
stepScalingPolicyConfiguration - The configuration for the step scaling policy. This parameter is
required if you are creating a new policy. For more information,
see StepScalingPolicyConfiguration and
StepAdjustment.public StepScalingPolicyConfiguration getStepScalingPolicyConfiguration()
The configuration for the step scaling policy. This parameter is required if you are creating a new policy. For more information, see StepScalingPolicyConfiguration and StepAdjustment.
public PutScalingPolicyRequest withStepScalingPolicyConfiguration(StepScalingPolicyConfiguration stepScalingPolicyConfiguration)
The configuration for the step scaling policy. This parameter is required if you are creating a new policy. For more information, see StepScalingPolicyConfiguration and StepAdjustment.
stepScalingPolicyConfiguration - The configuration for the step scaling policy. This parameter is
required if you are creating a new policy. For more information,
see StepScalingPolicyConfiguration and
StepAdjustment.public String toString()
toString in class ObjectObject.toString()public PutScalingPolicyRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2016. All rights reserved.