public static interface PlacementGroup.Builder extends SdkPojo, CopyableBuilder<PlacementGroup.Builder,PlacementGroup>
| Modifier and Type | Method and Description |
|---|---|
PlacementGroup.Builder |
groupArn(String groupArn)
The Amazon Resource Name (ARN) of the placement group.
|
PlacementGroup.Builder |
groupId(String groupId)
The ID of the placement group.
|
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.
|
PlacementGroup.Builder |
tags(Collection<Tag> tags)
Any tags applied to the placement group.
|
PlacementGroup.Builder |
tags(Consumer<Tag.Builder>... tags)
Any tags applied to the placement group.
|
PlacementGroup.Builder |
tags(Tag... tags)
Any tags applied to the placement group.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, 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.PlacementGroup.Builder groupId(String groupId)
The ID of the placement group.
groupId - The ID of the placement group.PlacementGroup.Builder tags(Collection<Tag> tags)
Any tags applied to the placement group.
tags - Any tags applied to the placement group.PlacementGroup.Builder tags(Tag... tags)
Any tags applied to the placement group.
tags - Any tags applied to the placement group.PlacementGroup.Builder tags(Consumer<Tag.Builder>... tags)
Any tags applied to the placement group.
This is a convenience method that creates an instance of theList.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its result
is passed to #tags(List) .tags - a consumer that will call methods on List.Builder #tags(List) PlacementGroup.Builder groupArn(String groupArn)
The Amazon Resource Name (ARN) of the placement group.
groupArn - The Amazon Resource Name (ARN) of the placement group.Copyright © 2022. All rights reserved.