Class CfnConsumableResourcePropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.batch.CfnConsumableResourcePropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConsumableResourcePropsMixin>
- Enclosing class:
CfnConsumableResourcePropsMixin
@Stability(Stable)
public static final class CfnConsumableResourcePropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConsumableResourcePropsMixin>
A fluent builder for
CfnConsumableResourcePropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()consumableResourceName(String consumableResourceName) The name of the consumable resource.create()create(CfnPropertyMixinOptions options) resourceType(String resourceType) Indicates whether the resource is available to be re-used after a job completes.The tags that you apply to the consumable resource to help you categorize and organize your resources.totalQuantity(Number totalQuantity) The total amount of the consumable resource that is available.
-
Method Details
-
create
@Stability(Stable) public static CfnConsumableResourcePropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnConsumableResourcePropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnConsumableResourcePropsMixin.Builder.
-
consumableResourceName
@Stability(Stable) public CfnConsumableResourcePropsMixin.Builder consumableResourceName(String consumableResourceName) The name of the consumable resource.- Parameters:
consumableResourceName- The name of the consumable resource. This parameter is required.- Returns:
this- See Also:
-
resourceType
Indicates whether the resource is available to be re-used after a job completes. Can be one of:.REPLENISHABLENON_REPLENISHABLE
- Parameters:
resourceType- Indicates whether the resource is available to be re-used after a job completes. Can be one of:. This parameter is required.- Returns:
this- See Also:
-
tags
The tags that you apply to the consumable resource to help you categorize and organize your resources.Each tag consists of a key and an optional value. For more information, see Tagging your AWS Batch resources .
- Parameters:
tags- The tags that you apply to the consumable resource to help you categorize and organize your resources. This parameter is required.- Returns:
this- See Also:
-
totalQuantity
@Stability(Stable) public CfnConsumableResourcePropsMixin.Builder totalQuantity(Number totalQuantity) The total amount of the consumable resource that is available.- Parameters:
totalQuantity- The total amount of the consumable resource that is available. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConsumableResourcePropsMixin>- Returns:
- a newly built instance of
CfnConsumableResourcePropsMixin.
-