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, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
GetManagedScalingPolicyResponse.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 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.Builder
managedScalingPolicy(ManagedScalingPolicy)