@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutAutoScalingPolicyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
PutAutoScalingPolicyResult() |
Modifier and Type | Method and Description |
---|---|
PutAutoScalingPolicyResult |
clone() |
boolean |
equals(Object obj) |
AutoScalingPolicyDescription |
getAutoScalingPolicy()
The automatic scaling policy definition.
|
String |
getClusterId()
Specifies the ID of a cluster.
|
String |
getInstanceGroupId()
Specifies the ID of the instance group to which the scaling policy is applied.
|
int |
hashCode() |
void |
setAutoScalingPolicy(AutoScalingPolicyDescription autoScalingPolicy)
The automatic scaling policy definition.
|
void |
setClusterId(String clusterId)
Specifies the ID of a cluster.
|
void |
setInstanceGroupId(String instanceGroupId)
Specifies the ID of the instance group to which the scaling policy is applied.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
PutAutoScalingPolicyResult |
withAutoScalingPolicy(AutoScalingPolicyDescription autoScalingPolicy)
The automatic scaling policy definition.
|
PutAutoScalingPolicyResult |
withClusterId(String clusterId)
Specifies the ID of a cluster.
|
PutAutoScalingPolicyResult |
withInstanceGroupId(String instanceGroupId)
Specifies the ID of the instance group to which the scaling policy is applied.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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 PutAutoScalingPolicyResult 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 scaling policy is applied.
instanceGroupId
- Specifies the ID of the instance group to which the scaling policy is applied.public String getInstanceGroupId()
Specifies the ID of the instance group to which the scaling policy is applied.
public PutAutoScalingPolicyResult withInstanceGroupId(String instanceGroupId)
Specifies the ID of the instance group to which the scaling policy is applied.
instanceGroupId
- Specifies the ID of the instance group to which the scaling policy is applied.public void setAutoScalingPolicy(AutoScalingPolicyDescription autoScalingPolicy)
The automatic scaling policy definition.
autoScalingPolicy
- The automatic scaling policy definition.public AutoScalingPolicyDescription getAutoScalingPolicy()
The automatic scaling policy definition.
public PutAutoScalingPolicyResult withAutoScalingPolicy(AutoScalingPolicyDescription autoScalingPolicy)
The automatic scaling policy definition.
autoScalingPolicy
- The automatic scaling policy definition.public String toString()
toString
in class Object
Object.toString()
public PutAutoScalingPolicyResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.