Class QuotaShareResourceSharingConfiguration
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<QuotaShareResourceSharingConfiguration.Builder,QuotaShareResourceSharingConfiguration>
Specifies whether a quota share reserves, lends, or both lends and borrows idle compute capacity.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal IntegerThe maximum percentage of additional capacity that the quota share can borrow from other shares.builder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends QuotaShareResourceSharingConfiguration.Builder>strategy()The resource sharing strategy for the quota share.final StringThe resource sharing strategy for the quota share.final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
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.If the service returns an enum value that is not available in the current SDK version,
strategywill returnQuotaShareResourceSharingStrategy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstrategyAsString().- Returns:
- 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. - See Also:
-
strategyAsString
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.If the service returns an enum value that is not available in the current SDK version,
strategywill returnQuotaShareResourceSharingStrategy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstrategyAsString().- Returns:
- 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. - 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.- Returns:
- 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.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<QuotaShareResourceSharingConfiguration.Builder,QuotaShareResourceSharingConfiguration>
-
builder
-
serializableBuilderClass
public static Class<? extends QuotaShareResourceSharingConfiguration.Builder> serializableBuilderClass() -
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-