Class CfnQuotaShareMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.batch.CfnQuotaShareMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnQuotaShareMixinProps>
- Enclosing interface:
CfnQuotaShareMixinProps
@Stability(Stable)
public static final class CfnQuotaShareMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnQuotaShareMixinProps>
A builder for
CfnQuotaShareMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.capacityLimits(List<? extends Object> capacityLimits) Sets the value ofCfnQuotaShareMixinProps.getCapacityLimits()capacityLimits(IResolvable capacityLimits) Sets the value ofCfnQuotaShareMixinProps.getCapacityLimits()Sets the value ofCfnQuotaShareMixinProps.getJobQueue()preemptionConfiguration(CfnQuotaSharePropsMixin.QuotaSharePreemptionConfigurationProperty preemptionConfiguration) Sets the value ofCfnQuotaShareMixinProps.getPreemptionConfiguration()preemptionConfiguration(IResolvable preemptionConfiguration) Sets the value ofCfnQuotaShareMixinProps.getPreemptionConfiguration()quotaShareName(String quotaShareName) Sets the value ofCfnQuotaShareMixinProps.getQuotaShareName()resourceSharingConfiguration(CfnQuotaSharePropsMixin.QuotaShareResourceSharingConfigurationProperty resourceSharingConfiguration) Sets the value ofCfnQuotaShareMixinProps.getResourceSharingConfiguration()resourceSharingConfiguration(IResolvable resourceSharingConfiguration) Sets the value ofCfnQuotaShareMixinProps.getResourceSharingConfiguration()Sets the value ofCfnQuotaShareMixinProps.getState()Sets the value ofCfnQuotaShareMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
capacityLimits
@Stability(Stable) public CfnQuotaShareMixinProps.Builder capacityLimits(IResolvable capacityLimits) Sets the value ofCfnQuotaShareMixinProps.getCapacityLimits()- Parameters:
capacityLimits- The capacity limits for the quota share.- Returns:
this
-
capacityLimits
@Stability(Stable) public CfnQuotaShareMixinProps.Builder capacityLimits(List<? extends Object> capacityLimits) Sets the value ofCfnQuotaShareMixinProps.getCapacityLimits()- Parameters:
capacityLimits- The capacity limits for the quota share.- Returns:
this
-
jobQueue
Sets the value ofCfnQuotaShareMixinProps.getJobQueue()- Parameters:
jobQueue- The Amazon Resource Name (ARN) or name of the job queue.- Returns:
this
-
preemptionConfiguration
@Stability(Stable) public CfnQuotaShareMixinProps.Builder preemptionConfiguration(IResolvable preemptionConfiguration) Sets the value ofCfnQuotaShareMixinProps.getPreemptionConfiguration()- Parameters:
preemptionConfiguration- the value to be set.- Returns:
this
-
resourceSharingConfiguration
@Stability(Stable) public CfnQuotaShareMixinProps.Builder resourceSharingConfiguration(IResolvable resourceSharingConfiguration) Sets the value ofCfnQuotaShareMixinProps.getResourceSharingConfiguration()- Parameters:
resourceSharingConfiguration- the value to be set.- Returns:
this
-
state
Sets the value ofCfnQuotaShareMixinProps.getState()- Parameters:
state- The state of the quota share.- Returns:
this
-
tags
Sets the value ofCfnQuotaShareMixinProps.getTags()- Parameters:
tags- A key-value pair to associate with a resource.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnQuotaShareMixinProps>- Returns:
- a new instance of
CfnQuotaShareMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-