Interface SpotPlacement.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SpotPlacement.Builder,,SpotPlacement> SdkBuilder<SpotPlacement.Builder,,SpotPlacement> SdkPojo
- Enclosing class:
SpotPlacement
-
Method Summary
Modifier and TypeMethodDescriptionavailabilityZone(String availabilityZone) The Availability Zone.availabilityZoneId(String availabilityZoneId) The ID of the Availability Zone.The name of the placement group.The tenancy of the instance (if the instance is running in a VPC).The tenancy of the instance (if the instance is running in a VPC).Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
availabilityZone
The Availability Zone. For example,
us-east-2a.[Spot Fleet only] To specify multiple Availability Zones, separate them using commas; for example, "
us-east-2a,us-east-2b".Either
AvailabilityZoneorAvailabilityZoneIdmust be specified in the request, but not both.- Parameters:
availabilityZone- The Availability Zone. For example,us-east-2a.[Spot Fleet only] To specify multiple Availability Zones, separate them using commas; for example, "
us-east-2a,us-east-2b".Either
AvailabilityZoneorAvailabilityZoneIdmust be specified in the request, but not both.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupName
The name of the placement group.
- Parameters:
groupName- The name of the placement group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tenancy
The tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy of
dedicatedruns on single-tenant hardware. Thehosttenancy is not supported for Spot Instances.- Parameters:
tenancy- The tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy ofdedicatedruns on single-tenant hardware. Thehosttenancy is not supported for Spot Instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tenancy
The tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy of
dedicatedruns on single-tenant hardware. Thehosttenancy is not supported for Spot Instances.- Parameters:
tenancy- The tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy ofdedicatedruns on single-tenant hardware. Thehosttenancy is not supported for Spot Instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
availabilityZoneId
The ID of the Availability Zone. For example,
use2-az1.[Spot Fleet only] To specify multiple Availability Zones, separate them using commas; for example, "
use2-az1,use2-bz1".Either
AvailabilityZoneorAvailabilityZoneIdmust be specified in the request, but not both.- Parameters:
availabilityZoneId- The ID of the Availability Zone. For example,use2-az1.[Spot Fleet only] To specify multiple Availability Zones, separate them using commas; for example, "
use2-az1,use2-bz1".Either
AvailabilityZoneorAvailabilityZoneIdmust be specified in the request, but not both.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-