Class CfnQuotaSharePropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.batch.CfnQuotaSharePropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnQuotaSharePropsMixin>
- Enclosing class:
CfnQuotaSharePropsMixin
@Stability(Stable)
public static final class CfnQuotaSharePropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnQuotaSharePropsMixin>
A fluent builder for
CfnQuotaSharePropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()capacityLimits(List<? extends Object> capacityLimits) A list that specifies the quantity and type of compute capacity allocated to the quota share.capacityLimits(IResolvable capacityLimits) A list that specifies the quantity and type of compute capacity allocated to the quota share.create()create(CfnPropertyMixinOptions options) The AWS Batch job queue associated with the quota share.preemptionConfiguration(CfnQuotaSharePropsMixin.QuotaSharePreemptionConfigurationProperty preemptionConfiguration) preemptionConfiguration(IResolvable preemptionConfiguration) quotaShareName(String quotaShareName) The name of the quota share.resourceSharingConfiguration(CfnQuotaSharePropsMixin.QuotaShareResourceSharingConfigurationProperty resourceSharingConfiguration) resourceSharingConfiguration(IResolvable resourceSharingConfiguration) The state of the quota share.The tags that you apply to the quota share to help you categorize and organize your resources.
-
Method Details
-
create
@Stability(Stable) public static CfnQuotaSharePropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnQuotaSharePropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnQuotaSharePropsMixin.Builder.
-
capacityLimits
@Stability(Stable) public CfnQuotaSharePropsMixin.Builder capacityLimits(IResolvable capacityLimits) A list that specifies the quantity and type of compute capacity allocated to the quota share.- Parameters:
capacityLimits- A list that specifies the quantity and type of compute capacity allocated to the quota share. This parameter is required.- Returns:
this- See Also:
-
capacityLimits
@Stability(Stable) public CfnQuotaSharePropsMixin.Builder capacityLimits(List<? extends Object> capacityLimits) A list that specifies the quantity and type of compute capacity allocated to the quota share.- Parameters:
capacityLimits- A list that specifies the quantity and type of compute capacity allocated to the quota share. This parameter is required.- Returns:
this- See Also:
-
jobQueue
The AWS Batch job queue associated with the quota share.This can be the job queue name or ARN. A job queue must be in the
VALIDstate before you can associate it with a quota share.- Parameters:
jobQueue- The AWS Batch job queue associated with the quota share. This parameter is required.- Returns:
this- See Also:
-
preemptionConfiguration
@Stability(Stable) public CfnQuotaSharePropsMixin.Builder preemptionConfiguration(IResolvable preemptionConfiguration) - Parameters:
preemptionConfiguration- This parameter is required.- Returns:
this- See Also:
-
resourceSharingConfiguration
@Stability(Stable) public CfnQuotaSharePropsMixin.Builder resourceSharingConfiguration(IResolvable resourceSharingConfiguration) - Parameters:
resourceSharingConfiguration- This parameter is required.- Returns:
this- See Also:
-
state
The state of the quota share.If the quota share is
ENABLED, it is able to accept jobs. If the quota share isDISABLED, new jobs won't be accepted but jobs already submitted can finish. The default state isENABLED.- Parameters:
state- The state of the quota share. This parameter is required.- Returns:
this- See Also:
-
tags
The tags that you apply to the quota share to help you categorize and organize your resources.Each tag consists of a key and an optional value.
- Parameters:
tags- The tags that you apply to the quota share to help you categorize and organize your resources. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnQuotaSharePropsMixin>- Returns:
- a newly built instance of
CfnQuotaSharePropsMixin.
-