public static interface CreateSchedulingPolicyRequest.Builder extends BatchRequest.Builder, SdkPojo, CopyableBuilder<CreateSchedulingPolicyRequest.Builder,CreateSchedulingPolicyRequest>
| Modifier and Type | Method and Description |
|---|---|
default CreateSchedulingPolicyRequest.Builder |
fairsharePolicy(Consumer<FairsharePolicy.Builder> fairsharePolicy)
The fair share policy of the scheduling policy.
|
CreateSchedulingPolicyRequest.Builder |
fairsharePolicy(FairsharePolicy fairsharePolicy)
The fair share policy of the scheduling policy.
|
CreateSchedulingPolicyRequest.Builder |
name(String name)
The name of the scheduling policy.
|
CreateSchedulingPolicyRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateSchedulingPolicyRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateSchedulingPolicyRequest.Builder |
tags(Map<String,String> tags)
The tags that you apply to the scheduling policy to help you categorize and organize your resources.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateSchedulingPolicyRequest.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 (_).
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 (_).CreateSchedulingPolicyRequest.Builder fairsharePolicy(FairsharePolicy fairsharePolicy)
The fair share policy of the scheduling policy.
fairsharePolicy - The fair share policy of the scheduling policy.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.Builder avoiding the
need to create one manually via FairsharePolicy.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to fairsharePolicy(FairsharePolicy).
fairsharePolicy - a consumer that will call methods on FairsharePolicy.BuilderfairsharePolicy(FairsharePolicy)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.
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.
CreateSchedulingPolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateSchedulingPolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.