Interface ResourceSharingConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ResourceSharingConfig.Builder,ResourceSharingConfig>,SdkBuilder<ResourceSharingConfig.Builder,ResourceSharingConfig>,SdkPojo
- Enclosing class:
- ResourceSharingConfig
public static interface ResourceSharingConfig.Builder extends SdkPojo, CopyableBuilder<ResourceSharingConfig.Builder,ResourceSharingConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResourceSharingConfig.BuilderborrowLimit(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.ResourceSharingConfig.Builderstrategy(String strategy)The strategy of how idle compute is shared within the cluster.ResourceSharingConfig.Builderstrategy(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 Detail
-
strategy
ResourceSharingConfig.Builder strategy(String 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:
ResourceSharingStrategy,ResourceSharingStrategy
-
-
strategy
ResourceSharingConfig.Builder strategy(ResourceSharingStrategy 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:
ResourceSharingStrategy,ResourceSharingStrategy
-
-
borrowLimit
ResourceSharingConfig.Builder borrowLimit(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.
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.
-
-