Interface CreateSchedulingPolicyRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,BatchRequest.Builder,Buildable,CopyableBuilder<CreateSchedulingPolicyRequest.Builder,CreateSchedulingPolicyRequest>,SdkBuilder<CreateSchedulingPolicyRequest.Builder,CreateSchedulingPolicyRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateSchedulingPolicyRequest
public static interface CreateSchedulingPolicyRequest.Builder extends BatchRequest.Builder, SdkPojo, CopyableBuilder<CreateSchedulingPolicyRequest.Builder,CreateSchedulingPolicyRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateSchedulingPolicyRequest.BuilderfairsharePolicy(Consumer<FairsharePolicy.Builder> fairsharePolicy)The fair share policy of the scheduling policy.CreateSchedulingPolicyRequest.BuilderfairsharePolicy(FairsharePolicy fairsharePolicy)The fair share policy of the scheduling policy.CreateSchedulingPolicyRequest.Buildername(String name)The name of the scheduling policy.CreateSchedulingPolicyRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateSchedulingPolicyRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateSchedulingPolicyRequest.Buildertags(Map<String,String> tags)The tags that you apply to the scheduling policy to help you categorize and organize your resources.-
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
-
name
CreateSchedulingPolicyRequest.Builder name(String name)
The name of the scheduling policy. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
- Parameters:
name- The name of the scheduling policy. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fairsharePolicy
CreateSchedulingPolicyRequest.Builder fairsharePolicy(FairsharePolicy fairsharePolicy)
The fair share policy of the scheduling policy.
- Parameters:
fairsharePolicy- The fair share policy of the scheduling policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fairsharePolicy
default CreateSchedulingPolicyRequest.Builder fairsharePolicy(Consumer<FairsharePolicy.Builder> fairsharePolicy)
The fair share policy of the scheduling 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)
-
tags
CreateSchedulingPolicyRequest.Builder tags(Map<String,String> tags)
The tags that you apply to the scheduling policy to help you categorize and organize your resources. Each tag consists of a key and an optional value. For more information, see Tagging Amazon Web Services Resources in Amazon Web Services General Reference.
These tags can be updated or removed using the TagResource and UntagResource API operations.
- Parameters:
tags- The tags that you apply to the scheduling policy to help you categorize and organize your resources. Each tag consists of a key and an optional value. For more information, see Tagging Amazon Web Services Resources in Amazon Web Services General Reference.These tags can be updated or removed using the TagResource and UntagResource API operations.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateSchedulingPolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateSchedulingPolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-