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
Modifier and TypeMethodDescriptionfairsharePolicy(Consumer<FairsharePolicy.Builder> fairsharePolicy) The fair share policy of the scheduling policy.fairsharePolicy(FairsharePolicy fairsharePolicy) The fair share policy of the scheduling policy.The name of the scheduling policy.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.batch.model.BatchRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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.
-
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) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateSchedulingPolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-