Interface UpdateSchedulingPolicyRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,BatchRequest.Builder,Buildable,CopyableBuilder<UpdateSchedulingPolicyRequest.Builder,UpdateSchedulingPolicyRequest>,SdkBuilder<UpdateSchedulingPolicyRequest.Builder,UpdateSchedulingPolicyRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateSchedulingPolicyRequest
@Mutable @NotThreadSafe public static interface UpdateSchedulingPolicyRequest.Builder extends BatchRequest.Builder, SdkPojo, CopyableBuilder<UpdateSchedulingPolicyRequest.Builder,UpdateSchedulingPolicyRequest>
-
-
Method Summary
-
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, sdkFieldNameToField, 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.
-
quotaSharePolicy
UpdateSchedulingPolicyRequest.Builder quotaSharePolicy(QuotaSharePolicy quotaSharePolicy)
The quota share scheduling policy details. Once set during creation, a quotaSharePolicy cannot be removed or changed to a fairsharePolicy.
- Parameters:
quotaSharePolicy- The quota share scheduling policy details. Once set during creation, a quotaSharePolicy cannot be removed or changed to a fairsharePolicy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
quotaSharePolicy
default UpdateSchedulingPolicyRequest.Builder quotaSharePolicy(Consumer<QuotaSharePolicy.Builder> quotaSharePolicy)
The quota share scheduling policy details. Once set during creation, a quotaSharePolicy cannot be removed or changed to a fairsharePolicy.
This is a convenience method that creates an instance of theQuotaSharePolicy.Builderavoiding the need to create one manually viaQuotaSharePolicy.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toquotaSharePolicy(QuotaSharePolicy).- Parameters:
quotaSharePolicy- a consumer that will call methods onQuotaSharePolicy.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
quotaSharePolicy(QuotaSharePolicy)
-
fairsharePolicy
UpdateSchedulingPolicyRequest.Builder fairsharePolicy(FairsharePolicy fairsharePolicy)
The fair-share policy scheduling details. Once set during creation, a fairsharePolicy cannot be removed or changed to a quotaSharePolicy.
- Parameters:
fairsharePolicy- The fair-share policy scheduling details. Once set during creation, a fairsharePolicy cannot be removed or changed to a quotaSharePolicy.- 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 scheduling details. Once set during creation, a fairsharePolicy cannot be removed or changed to a quotaSharePolicy.
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
-
-