Interface SchedulingPolicyDetail.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SchedulingPolicyDetail.Builder,SchedulingPolicyDetail>,SdkBuilder<SchedulingPolicyDetail.Builder,SchedulingPolicyDetail>,SdkPojo
- Enclosing class:
- SchedulingPolicyDetail
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 policy for the scheduling policy.SchedulingPolicyDetail.BuilderfairsharePolicy(FairsharePolicy fairsharePolicy)The fair share policy for the scheduling policy.SchedulingPolicyDetail.Buildername(String name)The name of the scheduling policy.SchedulingPolicyDetail.Buildertags(Map<String,String> tags)The tags that you apply to the 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, sdkFields
-
-
-
-
Method Detail
-
name
SchedulingPolicyDetail.Builder name(String name)
The name of the scheduling policy.
- Parameters:
name- The name of the 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.
-
fairsharePolicy
SchedulingPolicyDetail.Builder fairsharePolicy(FairsharePolicy fairsharePolicy)
The fair share policy for the scheduling policy.
- Parameters:
fairsharePolicy- The fair share policy for the scheduling policy.- 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 policy for 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
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-