Interface ResourceSharingConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ResourceSharingConfig.Builder,
,ResourceSharingConfig> SdkBuilder<ResourceSharingConfig.Builder,
,ResourceSharingConfig> SdkPojo
- Enclosing class:
ResourceSharingConfig
-
Method Summary
Modifier and TypeMethodDescriptionborrowLimit
(Integer borrowLimit) The limit on how much idle compute can be borrowed.The values can be 1 - 500 percent of idle compute that the team is allowed to borrow.The strategy of how idle compute is shared within the cluster.strategy
(ResourceSharingStrategy strategy) The strategy of how idle compute is shared within the cluster.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 Details
-
strategy
The strategy of how idle compute is shared within the cluster. The following are the options of strategies.
-
DontLend
: entities do not lend idle compute. -
Lend
: entities can lend idle compute to entities that can borrow. -
LendandBorrow
: entities can lend idle compute and borrow idle compute from other entities.
Default is
LendandBorrow
.- Parameters:
strategy
- The strategy of how idle compute is shared within the cluster. The following are the options of strategies.-
DontLend
: entities do not lend idle compute. -
Lend
: entities can lend idle compute to entities that can borrow. -
LendandBorrow
: entities can lend idle compute and borrow idle compute from other entities.
Default is
LendandBorrow
.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
strategy
The strategy of how idle compute is shared within the cluster. The following are the options of strategies.
-
DontLend
: entities do not lend idle compute. -
Lend
: entities can lend idle compute to entities that can borrow. -
LendandBorrow
: entities can lend idle compute and borrow idle compute from other entities.
Default is
LendandBorrow
.- Parameters:
strategy
- The strategy of how idle compute is shared within the cluster. The following are the options of strategies.-
DontLend
: entities do not lend idle compute. -
Lend
: entities can lend idle compute to entities that can borrow. -
LendandBorrow
: entities can lend idle compute and borrow idle compute from other entities.
Default is
LendandBorrow
.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
borrowLimit
The limit on how much idle compute can be borrowed.The values can be 1 - 500 percent of idle compute that the team is allowed to borrow.
Default is
50
.- Parameters:
borrowLimit
- The limit on how much idle compute can be borrowed.The values can be 1 - 500 percent of idle compute that the team is allowed to borrow.Default is
50
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-