Interface SchedulingPolicyDetail.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SchedulingPolicyDetail.Builder,SchedulingPolicyDetail>,SdkBuilder<SchedulingPolicyDetail.Builder,SchedulingPolicyDetail>,SdkPojo
- Enclosing class:
- SchedulingPolicyDetail
@Mutable @NotThreadSafe public static interface SchedulingPolicyDetail.Builder extends SdkPojo, CopyableBuilder<SchedulingPolicyDetail.Builder,SchedulingPolicyDetail>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description SchedulingPolicyDetail.Builderarn(String arn)The Amazon Resource Name (ARN) of the scheduling policy.default SchedulingPolicyDetail.BuilderfairsharePolicy(Consumer<FairsharePolicy.Builder> fairsharePolicy)The fair-share scheduling policy details.SchedulingPolicyDetail.BuilderfairsharePolicy(FairsharePolicy fairsharePolicy)The fair-share scheduling policy details.SchedulingPolicyDetail.Buildername(String name)The name of the fair-share scheduling policy.default SchedulingPolicyDetail.BuilderquotaSharePolicy(Consumer<QuotaSharePolicy.Builder> quotaSharePolicy)The quota share scheduling policy details.SchedulingPolicyDetail.BuilderquotaSharePolicy(QuotaSharePolicy quotaSharePolicy)The quota share scheduling policy details.SchedulingPolicyDetail.Buildertags(Map<String,String> tags)The tags that you apply to the fair-share scheduling policy to categorize and organize your resources.-
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
-
name
SchedulingPolicyDetail.Builder name(String name)
The name of the fair-share scheduling policy.
- Parameters:
name- The name of the fair-share scheduling policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
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.- Parameters:
arn- The Amazon Resource Name (ARN) of the scheduling policy. An example isarn:aws:batch:us-east-1:123456789012:scheduling-policy/HighPriority.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
quotaSharePolicy
SchedulingPolicyDetail.Builder quotaSharePolicy(QuotaSharePolicy quotaSharePolicy)
The quota share scheduling policy details.
- Parameters:
quotaSharePolicy- The quota share scheduling policy details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
quotaSharePolicy
default SchedulingPolicyDetail.Builder quotaSharePolicy(Consumer<QuotaSharePolicy.Builder> quotaSharePolicy)
The quota share scheduling policy details.
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
SchedulingPolicyDetail.Builder fairsharePolicy(FairsharePolicy fairsharePolicy)
The fair-share scheduling policy details.
- Parameters:
fairsharePolicy- The fair-share scheduling policy details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fairsharePolicy
default SchedulingPolicyDetail.Builder fairsharePolicy(Consumer<FairsharePolicy.Builder> fairsharePolicy)
The fair-share scheduling policy details.
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
SchedulingPolicyDetail.Builder tags(Map<String,String> tags)
The tags that you apply to the fair-share 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.
- Parameters:
tags- The tags that you apply to the fair-share 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-