Class CfnQuotaSharePropsMixin.QuotaShareResourceSharingConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.batch.CfnQuotaSharePropsMixin.QuotaShareResourceSharingConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnQuotaSharePropsMixin.QuotaShareResourceSharingConfigurationProperty>
- Enclosing interface:
CfnQuotaSharePropsMixin.QuotaShareResourceSharingConfigurationProperty
@Stability(Stable)
public static final class CfnQuotaSharePropsMixin.QuotaShareResourceSharingConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnQuotaSharePropsMixin.QuotaShareResourceSharingConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionborrowLimit(Number borrowLimit) build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
borrowLimit
@Stability(Stable) public CfnQuotaSharePropsMixin.QuotaShareResourceSharingConfigurationProperty.Builder borrowLimit(Number borrowLimit) Sets the value ofCfnQuotaSharePropsMixin.QuotaShareResourceSharingConfigurationProperty.getBorrowLimit()- Parameters:
borrowLimit- The maximum amount of compute capacity that can be borrowed. Use -1 for unlimited borrowing.- Returns:
this
-
strategy
@Stability(Stable) public CfnQuotaSharePropsMixin.QuotaShareResourceSharingConfigurationProperty.Builder strategy(String strategy) Sets the value ofCfnQuotaSharePropsMixin.QuotaShareResourceSharingConfigurationProperty.getStrategy()- Parameters:
strategy- The resource sharing strategy.- Returns:
this
-
build
@Stability(Stable) public CfnQuotaSharePropsMixin.QuotaShareResourceSharingConfigurationProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnQuotaSharePropsMixin.QuotaShareResourceSharingConfigurationProperty>- Returns:
- a new instance of
CfnQuotaSharePropsMixin.QuotaShareResourceSharingConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-