@Generated(value="software.amazon.awssdk:codegen") public final class PutAutoScalingPolicyResponse extends EmrResponse implements ToCopyableBuilder<PutAutoScalingPolicyResponse.Builder,PutAutoScalingPolicyResponse>
Modifier and Type | Class and Description |
---|---|
static interface |
PutAutoScalingPolicyResponse.Builder |
Modifier and Type | Method and Description |
---|---|
AutoScalingPolicyDescription |
autoScalingPolicy()
The automatic scaling policy definition.
|
static PutAutoScalingPolicyResponse.Builder |
builder() |
String |
clusterArn()
The Amazon Resource Name (ARN) of the cluster.
|
String |
clusterId()
Specifies the ID of a cluster.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
instanceGroupId()
Specifies the ID of the instance group to which the scaling policy is applied.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PutAutoScalingPolicyResponse.Builder> |
serializableBuilderClass() |
PutAutoScalingPolicyResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadata
sdkHttpResponse
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String clusterId()
Specifies the ID of a cluster. The instance group to which the automatic scaling policy is applied is within this cluster.
public final String instanceGroupId()
Specifies the ID of the instance group to which the scaling policy is applied.
public final AutoScalingPolicyDescription autoScalingPolicy()
The automatic scaling policy definition.
public final String clusterArn()
The Amazon Resource Name (ARN) of the cluster.
public PutAutoScalingPolicyResponse.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<PutAutoScalingPolicyResponse.Builder,PutAutoScalingPolicyResponse>
toBuilder
in class AwsResponse
public static PutAutoScalingPolicyResponse.Builder builder()
public static Class<? extends PutAutoScalingPolicyResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode
in class AwsResponse
public final boolean equals(Object obj)
equals
in class AwsResponse
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkResponse
Copyright © 2023. All rights reserved.