Interface PutAutoTerminationPolicyRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<PutAutoTerminationPolicyRequest.Builder,PutAutoTerminationPolicyRequest>
,EmrRequest.Builder
,SdkBuilder<PutAutoTerminationPolicyRequest.Builder,PutAutoTerminationPolicyRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- PutAutoTerminationPolicyRequest
public static interface PutAutoTerminationPolicyRequest.Builder extends EmrRequest.Builder, SdkPojo, CopyableBuilder<PutAutoTerminationPolicyRequest.Builder,PutAutoTerminationPolicyRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default PutAutoTerminationPolicyRequest.Builder
autoTerminationPolicy(Consumer<AutoTerminationPolicy.Builder> autoTerminationPolicy)
Specifies the auto-termination policy to attach to the cluster.PutAutoTerminationPolicyRequest.Builder
autoTerminationPolicy(AutoTerminationPolicy autoTerminationPolicy)
Specifies the auto-termination policy to attach to the cluster.PutAutoTerminationPolicyRequest.Builder
clusterId(String clusterId)
Specifies the ID of the Amazon EMR cluster to which the auto-termination policy will be attached.PutAutoTerminationPolicyRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
PutAutoTerminationPolicyRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.emr.model.EmrRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
clusterId
PutAutoTerminationPolicyRequest.Builder clusterId(String clusterId)
Specifies the ID of the Amazon EMR cluster to which the auto-termination policy will be attached.
- Parameters:
clusterId
- Specifies the ID of the Amazon EMR cluster to which the auto-termination policy will be attached.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoTerminationPolicy
PutAutoTerminationPolicyRequest.Builder autoTerminationPolicy(AutoTerminationPolicy autoTerminationPolicy)
Specifies the auto-termination policy to attach to the cluster.
- Parameters:
autoTerminationPolicy
- Specifies the auto-termination policy to attach to the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoTerminationPolicy
default PutAutoTerminationPolicyRequest.Builder autoTerminationPolicy(Consumer<AutoTerminationPolicy.Builder> autoTerminationPolicy)
Specifies the auto-termination policy to attach to the cluster.
This is a convenience method that creates an instance of theAutoTerminationPolicy.Builder
avoiding the need to create one manually viaAutoTerminationPolicy.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toautoTerminationPolicy(AutoTerminationPolicy)
.- Parameters:
autoTerminationPolicy
- a consumer that will call methods onAutoTerminationPolicy.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
autoTerminationPolicy(AutoTerminationPolicy)
-
overrideConfiguration
PutAutoTerminationPolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
PutAutoTerminationPolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-