public static interface CreatePlacementGroupRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<CreatePlacementGroupRequest.Builder,CreatePlacementGroupRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreatePlacementGroupRequest.Builder dryRun(Boolean dryRun)
Checks whether you have the required permissions for the action, without actually making the request, and
provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it is UnauthorizedOperation.
dryRun - Checks whether you have the required permissions for the action, without actually making the request,
and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it is UnauthorizedOperation.CreatePlacementGroupRequest.Builder groupName(String groupName)
A name for the placement group. Must be unique within the scope of your account for the Region.
Constraints: Up to 255 ASCII characters
groupName - A name for the placement group. Must be unique within the scope of your account for the Region.
Constraints: Up to 255 ASCII characters
CreatePlacementGroupRequest.Builder strategy(String strategy)
The placement strategy.
strategy - The placement strategy.PlacementStrategy,
PlacementStrategyCreatePlacementGroupRequest.Builder strategy(PlacementStrategy strategy)
The placement strategy.
strategy - The placement strategy.PlacementStrategy,
PlacementStrategyCreatePlacementGroupRequest.Builder partitionCount(Integer partitionCount)
The number of partitions. Valid only when Strategy is set to partition.
partitionCount - The number of partitions. Valid only when Strategy is set to partition.CreatePlacementGroupRequest.Builder tagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to apply to the new placement group.
tagSpecifications - The tags to apply to the new placement group.CreatePlacementGroupRequest.Builder tagSpecifications(TagSpecification... tagSpecifications)
The tags to apply to the new placement group.
tagSpecifications - The tags to apply to the new placement group.CreatePlacementGroupRequest.Builder tagSpecifications(Consumer<TagSpecification.Builder>... tagSpecifications)
The tags to apply to the new placement group.
This is a convenience method that creates an instance of theTagSpecification.Builder avoiding the need to create one
manually via TagSpecification.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #tagSpecifications(List.
tagSpecifications - a consumer that will call methods on
TagSpecification.Builder#tagSpecifications(java.util.Collection) CreatePlacementGroupRequest.Builder spreadLevel(String spreadLevel)
Determines how placement groups spread instances.
Host – You can use host only with Outpost placement groups.
Rack – No usage restrictions.
spreadLevel - Determines how placement groups spread instances.
Host – You can use host only with Outpost placement groups.
Rack – No usage restrictions.
SpreadLevel,
SpreadLevelCreatePlacementGroupRequest.Builder spreadLevel(SpreadLevel spreadLevel)
Determines how placement groups spread instances.
Host – You can use host only with Outpost placement groups.
Rack – No usage restrictions.
spreadLevel - Determines how placement groups spread instances.
Host – You can use host only with Outpost placement groups.
Rack – No usage restrictions.
SpreadLevel,
SpreadLevelCreatePlacementGroupRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreatePlacementGroupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.