@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 |
getClusterArn()
The Amazon Resource Name (ARN) of the cluster.
|
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 |
setClusterArn(String clusterArn)
The Amazon Resource Name (ARN) of the cluster.
|
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.
|
PutAutoScalingPolicyResult |
withAutoScalingPolicy(AutoScalingPolicyDescription autoScalingPolicy)
The automatic scaling policy definition.
|
PutAutoScalingPolicyResult |
withClusterArn(String clusterArn)
The Amazon Resource Name (ARN) of the cluster.
|
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 void setClusterArn(String clusterArn)
The Amazon Resource Name (ARN) of the cluster.
clusterArn
- The Amazon Resource Name (ARN) of the cluster.public String getClusterArn()
The Amazon Resource Name (ARN) of the cluster.
public PutAutoScalingPolicyResult withClusterArn(String clusterArn)
The Amazon Resource Name (ARN) of the cluster.
clusterArn
- The Amazon Resource Name (ARN) of the cluster.public String toString()
toString
in class Object
Object.toString()
public PutAutoScalingPolicyResult clone()