Interface GetManagedScalingPolicyResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetManagedScalingPolicyResponse.Builder,GetManagedScalingPolicyResponse>,EmrResponse.Builder,SdkBuilder<GetManagedScalingPolicyResponse.Builder,GetManagedScalingPolicyResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetManagedScalingPolicyResponse
public static interface GetManagedScalingPolicyResponse.Builder extends EmrResponse.Builder, SdkPojo, CopyableBuilder<GetManagedScalingPolicyResponse.Builder,GetManagedScalingPolicyResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetManagedScalingPolicyResponse.BuildermanagedScalingPolicy(Consumer<ManagedScalingPolicy.Builder> managedScalingPolicy)Specifies the managed scaling policy that is attached to an Amazon EMR cluster.GetManagedScalingPolicyResponse.BuildermanagedScalingPolicy(ManagedScalingPolicy managedScalingPolicy)Specifies the managed scaling policy that is attached to an Amazon EMR cluster.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.emr.model.EmrResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
managedScalingPolicy
GetManagedScalingPolicyResponse.Builder managedScalingPolicy(ManagedScalingPolicy managedScalingPolicy)
Specifies the managed scaling policy that is attached to an Amazon EMR cluster.
- Parameters:
managedScalingPolicy- Specifies the managed scaling policy that is attached to an Amazon EMR cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
managedScalingPolicy
default GetManagedScalingPolicyResponse.Builder managedScalingPolicy(Consumer<ManagedScalingPolicy.Builder> managedScalingPolicy)
Specifies the managed scaling policy that is attached to an Amazon EMR cluster.
This is a convenience method that creates an instance of theManagedScalingPolicy.Builderavoiding the need to create one manually viaManagedScalingPolicy.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomanagedScalingPolicy(ManagedScalingPolicy).- Parameters:
managedScalingPolicy- a consumer that will call methods onManagedScalingPolicy.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
managedScalingPolicy(ManagedScalingPolicy)
-
-