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) The capacity limits for the quota share.capacityLimits(IResolvable capacityLimits) The capacity limits for the quota share.static CfnQuotaShare.BuilderThe Amazon Resource Name (ARN) or name of the job queue.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.A key-value pair to associate with a resource.
-
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
The capacity limits for the quota share.- Parameters:
capacityLimits- The capacity limits for the quota share. This parameter is required.- Returns:
this- See Also:
-
capacityLimits
@Stability(Stable) public CfnQuotaShare.Builder capacityLimits(List<? extends Object> capacityLimits) The capacity limits for the quota share.- Parameters:
capacityLimits- The capacity limits for the quota share. This parameter is required.- Returns:
this- See Also:
-
jobQueue
The Amazon Resource Name (ARN) or name of the job queue.- Parameters:
jobQueue- The Amazon Resource Name (ARN) or name of the job queue. 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.- Parameters:
state- The state of the quota share. This parameter is required.- Returns:
this- See Also:
-
tags
A key-value pair to associate with a resource.- Parameters:
tags- A key-value pair to associate with a resource. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnQuotaShare>- Returns:
- a newly built instance of
CfnQuotaShare.
-