Class CfnQuotaShare.Builder
java.lang.Object
software.amazon.awscdk.services.batch.CfnQuotaShare.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnQuotaShare>
- Enclosing class:
CfnQuotaShare
@Stability(Stable)
public static final class CfnQuotaShare.Builder
extends Object
implements software.amazon.jsii.Builder<CfnQuotaShare>
A fluent builder for
CfnQuotaShare.-
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.static CfnQuotaShare.BuilderThe AWS Batch job queue associated with the quota share.preemptionConfiguration(IResolvable preemptionConfiguration) preemptionConfiguration(CfnQuotaShare.QuotaSharePreemptionConfigurationProperty preemptionConfiguration) quotaShareName(String quotaShareName) The name of the quota share.resourceSharingConfiguration(IResolvable resourceSharingConfiguration) resourceSharingConfiguration(CfnQuotaShare.QuotaShareResourceSharingConfigurationProperty 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 CfnQuotaShare.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnQuotaShare.Builder.
-
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 CfnQuotaShare.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 CfnQuotaShare.Builder preemptionConfiguration(IResolvable preemptionConfiguration) - Parameters:
preemptionConfiguration- This parameter is required.- Returns:
this- See Also:
-
resourceSharingConfiguration
@Stability(Stable) public CfnQuotaShare.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<CfnQuotaShare>- Returns:
- a newly built instance of
CfnQuotaShare.
-