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