@Stability(value=Stable) public static final class CfnSpotFleet.SpotPlacementProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnSpotFleet.SpotPlacementProperty>
CfnSpotFleet.SpotPlacementProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnSpotFleet.SpotPlacementProperty.Builder |
availabilityZone(String availabilityZone)
Sets the value of
CfnSpotFleet.SpotPlacementProperty.getAvailabilityZone() |
CfnSpotFleet.SpotPlacementProperty |
build()
Builds the configured instance.
|
CfnSpotFleet.SpotPlacementProperty.Builder |
groupName(String groupName)
Sets the value of
CfnSpotFleet.SpotPlacementProperty.getGroupName() |
CfnSpotFleet.SpotPlacementProperty.Builder |
tenancy(String tenancy)
Sets the value of
CfnSpotFleet.SpotPlacementProperty.getTenancy() |
@Stability(value=Stable) public CfnSpotFleet.SpotPlacementProperty.Builder availabilityZone(String availabilityZone)
CfnSpotFleet.SpotPlacementProperty.getAvailabilityZone()availabilityZone - The Availability Zone.
To specify multiple Availability Zones, separate them using commas; for example, "us-west-2a, us-west-2b".this@Stability(value=Stable) public CfnSpotFleet.SpotPlacementProperty.Builder groupName(String groupName)
CfnSpotFleet.SpotPlacementProperty.getGroupName()groupName - The name of the placement group.this@Stability(value=Stable) public CfnSpotFleet.SpotPlacementProperty.Builder tenancy(String tenancy)
CfnSpotFleet.SpotPlacementProperty.getTenancy()tenancy - The tenancy of the instance (if the instance is running in a VPC).
An instance with a tenancy of dedicated runs on single-tenant hardware. The host tenancy is not supported for Spot Instances.this@Stability(value=Stable) public CfnSpotFleet.SpotPlacementProperty build()
build in interface software.amazon.jsii.Builder<CfnSpotFleet.SpotPlacementProperty>CfnSpotFleet.SpotPlacementPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.