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 interface
PutAutoScalingPolicyResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends PutAutoScalingPolicyResponse.Builder>
serializableBuilderClass()
PutAutoScalingPolicyResponse.Builder
toBuilder()
String
toString()
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:
toBuilder
in interfaceToCopyableBuilder<PutAutoScalingPolicyResponse.Builder,PutAutoScalingPolicyResponse>
- Specified by:
toBuilder
in classAwsResponse
-
builder
public static PutAutoScalingPolicyResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends PutAutoScalingPolicyResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equals
in classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in 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:
getValueForField
in classSdkResponse
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
-
-