public static interface PlacementGroup.Builder extends SdkPojo, CopyableBuilder<PlacementGroup.Builder,PlacementGroup>
| Modifier and Type | Method and Description |
|---|---|
PlacementGroup.Builder |
groupName(String groupName)
The name of the placement group.
|
PlacementGroup.Builder |
partitionCount(Integer partitionCount)
The number of partitions.
|
PlacementGroup.Builder |
state(PlacementGroupState state)
The state of the placement group.
|
PlacementGroup.Builder |
state(String state)
The state of the placement group.
|
PlacementGroup.Builder |
strategy(PlacementStrategy strategy)
The placement strategy.
|
PlacementGroup.Builder |
strategy(String strategy)
The placement strategy.
|
copyapplyMutation, buildPlacementGroup.Builder groupName(String groupName)
The name of the placement group.
groupName - The name of the placement group.PlacementGroup.Builder state(String state)
The state of the placement group.
state - The state of the placement group.PlacementGroupState,
PlacementGroupStatePlacementGroup.Builder state(PlacementGroupState state)
The state of the placement group.
state - The state of the placement group.PlacementGroupState,
PlacementGroupStatePlacementGroup.Builder strategy(String strategy)
The placement strategy.
strategy - The placement strategy.PlacementStrategy,
PlacementStrategyPlacementGroup.Builder strategy(PlacementStrategy strategy)
The placement strategy.
strategy - The placement strategy.PlacementStrategy,
PlacementStrategyPlacementGroup.Builder partitionCount(Integer partitionCount)
The number of partitions. Valid only if strategy is set to partition.
partitionCount - The number of partitions. Valid only if strategy is set to partition.Copyright © 2019. All rights reserved.