public static interface GetManagedScalingPolicyResponse.Builder extends EmrResponse.Builder, SdkPojo, CopyableBuilder<GetManagedScalingPolicyResponse.Builder,GetManagedScalingPolicyResponse>
| Modifier and Type | Method and Description |
|---|---|
default GetManagedScalingPolicyResponse.Builder |
managedScalingPolicy(Consumer<ManagedScalingPolicy.Builder> managedScalingPolicy)
Specifies the managed scaling policy that is attached to an Amazon EMR cluster.
|
GetManagedScalingPolicyResponse.Builder |
managedScalingPolicy(ManagedScalingPolicy managedScalingPolicy)
Specifies the managed scaling policy that is attached to an Amazon EMR cluster.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetManagedScalingPolicyResponse.Builder managedScalingPolicy(ManagedScalingPolicy managedScalingPolicy)
Specifies the managed scaling policy that is attached to an Amazon EMR cluster.
managedScalingPolicy - Specifies the managed scaling policy that is attached to an Amazon EMR cluster.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.Builder avoiding
the need to create one manually via ManagedScalingPolicy.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to managedScalingPolicy(ManagedScalingPolicy).
managedScalingPolicy - a consumer that will call methods on ManagedScalingPolicy.BuildermanagedScalingPolicy(ManagedScalingPolicy)Copyright © 2022. All rights reserved.