Class CfnSchedulingPolicyPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.batch.CfnSchedulingPolicyPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSchedulingPolicyPropsMixin>
- Enclosing class:
CfnSchedulingPolicyPropsMixin
@Stability(Stable)
public static final class CfnSchedulingPolicyPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSchedulingPolicyPropsMixin>
A fluent builder for
CfnSchedulingPolicyPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) fairsharePolicy(CfnSchedulingPolicyPropsMixin.FairsharePolicyProperty fairsharePolicy) The fair-share scheduling policy details.fairsharePolicy(IResolvable fairsharePolicy) The fair-share scheduling policy details.The name of the fair-share scheduling policy.The tags that you apply to the scheduling policy to help you categorize and organize your resources.
-
Method Details
-
create
@Stability(Stable) public static CfnSchedulingPolicyPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnSchedulingPolicyPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnSchedulingPolicyPropsMixin.Builder.
-
name
The name of the fair-share 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 fair-share scheduling policy. This parameter is required.- Returns:
this- See Also:
-
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 AWS Resources in AWS 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. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSchedulingPolicyPropsMixin>- Returns:
- a newly built instance of
CfnSchedulingPolicyPropsMixin.
-