@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutAutoScalingPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
PutAutoScalingPolicyRequest() |
Modifier and Type | Method and Description |
---|---|
PutAutoScalingPolicyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
AutoScalingPolicy |
getAutoScalingPolicy()
Specifies the definition of the automatic scaling policy.
|
String |
getClusterId()
Specifies the ID of a cluster.
|
String |
getInstanceGroupId()
Specifies the ID of the instance group to which the automatic scaling policy is applied.
|
int |
hashCode() |
void |
setAutoScalingPolicy(AutoScalingPolicy autoScalingPolicy)
Specifies the definition of the automatic scaling policy.
|
void |
setClusterId(String clusterId)
Specifies the ID of a cluster.
|
void |
setInstanceGroupId(String instanceGroupId)
Specifies the ID of the instance group to which the automatic scaling policy is applied.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
PutAutoScalingPolicyRequest |
withAutoScalingPolicy(AutoScalingPolicy autoScalingPolicy)
Specifies the definition of the automatic scaling policy.
|
PutAutoScalingPolicyRequest |
withClusterId(String clusterId)
Specifies the ID of a cluster.
|
PutAutoScalingPolicyRequest |
withInstanceGroupId(String instanceGroupId)
Specifies the ID of the instance group to which the automatic scaling policy is applied.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setClusterId(String clusterId)
Specifies the ID of a cluster. The instance group to which the automatic scaling policy is applied is within this cluster.
clusterId
- Specifies the ID of a cluster. The instance group to which the automatic scaling policy is applied is
within this cluster.public String getClusterId()
Specifies the ID of a cluster. The instance group to which the automatic scaling policy is applied is within this cluster.
public PutAutoScalingPolicyRequest withClusterId(String clusterId)
Specifies the ID of a cluster. The instance group to which the automatic scaling policy is applied is within this cluster.
clusterId
- Specifies the ID of a cluster. The instance group to which the automatic scaling policy is applied is
within this cluster.public void setInstanceGroupId(String instanceGroupId)
Specifies the ID of the instance group to which the automatic scaling policy is applied.
instanceGroupId
- Specifies the ID of the instance group to which the automatic scaling policy is applied.public String getInstanceGroupId()
Specifies the ID of the instance group to which the automatic scaling policy is applied.
public PutAutoScalingPolicyRequest withInstanceGroupId(String instanceGroupId)
Specifies the ID of the instance group to which the automatic scaling policy is applied.
instanceGroupId
- Specifies the ID of the instance group to which the automatic scaling policy is applied.public void setAutoScalingPolicy(AutoScalingPolicy autoScalingPolicy)
Specifies the definition of the automatic scaling policy.
autoScalingPolicy
- Specifies the definition of the automatic scaling policy.public AutoScalingPolicy getAutoScalingPolicy()
Specifies the definition of the automatic scaling policy.
public PutAutoScalingPolicyRequest withAutoScalingPolicy(AutoScalingPolicy autoScalingPolicy)
Specifies the definition of the automatic scaling policy.
autoScalingPolicy
- Specifies the definition of the automatic scaling policy.public String toString()
toString
in class Object
Object.toString()
public PutAutoScalingPolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.