Class PutAutoScalingPolicyResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.emr.model.EmrResponse
-
- software.amazon.awssdk.services.emr.model.PutAutoScalingPolicyResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<PutAutoScalingPolicyResponse.Builder,PutAutoScalingPolicyResponse>
@Generated("software.amazon.awssdk:codegen") public final class PutAutoScalingPolicyResponse extends EmrResponse implements ToCopyableBuilder<PutAutoScalingPolicyResponse.Builder,PutAutoScalingPolicyResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePutAutoScalingPolicyResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AutoScalingPolicyDescriptionautoScalingPolicy()The automatic scaling policy definition.static PutAutoScalingPolicyResponse.Builderbuilder()StringclusterArn()The Amazon Resource Name (ARN) of the cluster.StringclusterId()Specifies the ID of a cluster.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringinstanceGroupId()Specifies the ID of the instance group to which the scaling policy is applied.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends PutAutoScalingPolicyResponse.Builder>serializableBuilderClass()PutAutoScalingPolicyResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.emr.model.EmrResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
clusterId
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.
- Returns:
- Specifies the ID of a cluster. The instance group to which the automatic scaling policy is applied is within this cluster.
-
instanceGroupId
public final String instanceGroupId()
Specifies the ID of the instance group to which the scaling policy is applied.
- Returns:
- Specifies the ID of the instance group to which the scaling policy is applied.
-
autoScalingPolicy
public final AutoScalingPolicyDescription autoScalingPolicy()
The automatic scaling policy definition.
- Returns:
- The automatic scaling policy definition.
-
clusterArn
public final String clusterArn()
The Amazon Resource Name (ARN) of the cluster.
- Returns:
- The Amazon Resource Name (ARN) of the cluster.
-
toBuilder
public PutAutoScalingPolicyResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PutAutoScalingPolicyResponse.Builder,PutAutoScalingPolicyResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static PutAutoScalingPolicyResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends PutAutoScalingPolicyResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-