Interface QuotaShareResourceSharingConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<QuotaShareResourceSharingConfiguration.Builder,QuotaShareResourceSharingConfiguration>,SdkBuilder<QuotaShareResourceSharingConfiguration.Builder,QuotaShareResourceSharingConfiguration>,SdkPojo
- Enclosing class:
- QuotaShareResourceSharingConfiguration
@Mutable @NotThreadSafe public static interface QuotaShareResourceSharingConfiguration.Builder extends SdkPojo, CopyableBuilder<QuotaShareResourceSharingConfiguration.Builder,QuotaShareResourceSharingConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description QuotaShareResourceSharingConfiguration.BuilderborrowLimit(Integer borrowLimit)The maximum percentage of additional capacity that the quota share can borrow from other shares.QuotaShareResourceSharingConfiguration.Builderstrategy(String strategy)The resource sharing strategy for the quota share.QuotaShareResourceSharingConfiguration.Builderstrategy(QuotaShareResourceSharingStrategy strategy)The resource sharing strategy for the quota share.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
strategy
QuotaShareResourceSharingConfiguration.Builder strategy(String 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:
QuotaShareResourceSharingStrategy,QuotaShareResourceSharingStrategy
-
strategy
QuotaShareResourceSharingConfiguration.Builder strategy(QuotaShareResourceSharingStrategy 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:
QuotaShareResourceSharingStrategy,QuotaShareResourceSharingStrategy
-
borrowLimit
QuotaShareResourceSharingConfiguration.Builder borrowLimit(Integer 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.
-
-