public static interface SchedulingPolicyDetail.Builder extends SdkPojo, CopyableBuilder<SchedulingPolicyDetail.Builder,SchedulingPolicyDetail>
| Modifier and Type | Method and Description |
|---|---|
SchedulingPolicyDetail.Builder |
arn(String arn)
The Amazon Resource Name (ARN) of the scheduling policy.
|
default SchedulingPolicyDetail.Builder |
fairsharePolicy(Consumer<FairsharePolicy.Builder> fairsharePolicy)
The fair share policy for the scheduling policy.
|
SchedulingPolicyDetail.Builder |
fairsharePolicy(FairsharePolicy fairsharePolicy)
The fair share policy for the scheduling policy.
|
SchedulingPolicyDetail.Builder |
name(String name)
The name of the scheduling policy.
|
SchedulingPolicyDetail.Builder |
tags(Map<String,String> tags)
The tags that you apply to the scheduling policy to categorize and organize your resources.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildSchedulingPolicyDetail.Builder name(String name)
The name of the scheduling policy.
name - The name of the scheduling policy.SchedulingPolicyDetail.Builder arn(String arn)
The Amazon Resource Name (ARN) of the scheduling policy. An example is
arn:aws:batch:us-east-1:123456789012:scheduling-policy/HighPriority
.
arn - The Amazon Resource Name (ARN) of the scheduling policy. An example is
arn:aws:batch:us-east-1:123456789012:scheduling-policy/HighPriority
.SchedulingPolicyDetail.Builder fairsharePolicy(FairsharePolicy fairsharePolicy)
The fair share policy for the scheduling policy.
fairsharePolicy - The fair share policy for the scheduling policy.default SchedulingPolicyDetail.Builder fairsharePolicy(Consumer<FairsharePolicy.Builder> fairsharePolicy)
The fair share policy for 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)SchedulingPolicyDetail.Builder tags(Map<String,String> tags)
The tags that you apply to the scheduling policy to 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.
tags - The tags that you apply to the scheduling policy to 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.Copyright © 2023. All rights reserved.