Interface QuotaShareResourceSharingConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<QuotaShareResourceSharingConfiguration.Builder,,QuotaShareResourceSharingConfiguration> SdkBuilder<QuotaShareResourceSharingConfiguration.Builder,,QuotaShareResourceSharingConfiguration> SdkPojo
- Enclosing class:
QuotaShareResourceSharingConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionborrowLimit(Integer borrowLimit) The maximum percentage of additional capacity that the quota share can borrow from other shares.The resource sharing strategy for the quota share.strategy(QuotaShareResourceSharingStrategy strategy) The resource sharing strategy for the quota share.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
strategy
The resource sharing strategy for the quota share. The
RESERVEstrategy allows a quota share to reserve idle capacity for itself.LENDconfigures the share to lend its idle capacity to another share in need of capacity. TheLEND_AND_BORROWstrategy configures the share to borrow idle capacity from an underutilized share, as well as lend to another share.- Parameters:
strategy- The resource sharing strategy for the quota share. TheRESERVEstrategy allows a quota share to reserve idle capacity for itself.LENDconfigures the share to lend its idle capacity to another share in need of capacity. TheLEND_AND_BORROWstrategy configures the share to borrow idle capacity from an underutilized share, as well as lend to another share.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
borrowLimit
The maximum percentage of additional capacity that the quota share can borrow from other shares.
borrowLimitcan only be applied to quota shares with a strategy ofLEND_AND_BORROW. This value is expressed as a percentage of the quota share's configured CapacityLimits.The
borrowLimitis applied uniformly across all capacity units. For example, if theborrowLimitis 200, the quota share can borrow up to 200% of its configuredmaxCapacityfor each capacity unit. The defaultborrowLimitis -1, which indicates unlimited borrowing.- Parameters:
borrowLimit- The maximum percentage of additional capacity that the quota share can borrow from other shares.borrowLimitcan only be applied to quota shares with a strategy ofLEND_AND_BORROW. This value is expressed as a percentage of the quota share's configured CapacityLimits.The
borrowLimitis applied uniformly across all capacity units. For example, if theborrowLimitis 200, the quota share can borrow up to 200% of its configuredmaxCapacityfor each capacity unit. The defaultborrowLimitis -1, which indicates unlimited borrowing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-