Interface UpdateSchedulingPolicyRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,BatchRequest.Builder,Buildable,CopyableBuilder<UpdateSchedulingPolicyRequest.Builder,UpdateSchedulingPolicyRequest>,SdkBuilder<UpdateSchedulingPolicyRequest.Builder,UpdateSchedulingPolicyRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateSchedulingPolicyRequest
public static interface UpdateSchedulingPolicyRequest.Builder extends BatchRequest.Builder, SdkPojo, CopyableBuilder<UpdateSchedulingPolicyRequest.Builder,UpdateSchedulingPolicyRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateSchedulingPolicyRequest.Builderarn(String arn)The Amazon Resource Name (ARN) of the scheduling policy to update.default UpdateSchedulingPolicyRequest.BuilderfairsharePolicy(Consumer<FairsharePolicy.Builder> fairsharePolicy)The fair share policy.UpdateSchedulingPolicyRequest.BuilderfairsharePolicy(FairsharePolicy fairsharePolicy)The fair share policy.UpdateSchedulingPolicyRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateSchedulingPolicyRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.batch.model.BatchRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
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
-
arn
UpdateSchedulingPolicyRequest.Builder arn(String arn)
The Amazon Resource Name (ARN) of the scheduling policy to update.
- Parameters:
arn- The Amazon Resource Name (ARN) of the scheduling policy to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fairsharePolicy
UpdateSchedulingPolicyRequest.Builder fairsharePolicy(FairsharePolicy fairsharePolicy)
The fair share policy.
- Parameters:
fairsharePolicy- The fair share policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fairsharePolicy
default UpdateSchedulingPolicyRequest.Builder fairsharePolicy(Consumer<FairsharePolicy.Builder> fairsharePolicy)
The fair share policy.
This is a convenience method that creates an instance of theFairsharePolicy.Builderavoiding the need to create one manually viaFairsharePolicy.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofairsharePolicy(FairsharePolicy).- Parameters:
fairsharePolicy- a consumer that will call methods onFairsharePolicy.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
fairsharePolicy(FairsharePolicy)
-
overrideConfiguration
UpdateSchedulingPolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateSchedulingPolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-