public static final class CfnCluster.PlacementTypeProperty.Builder
extends java.lang.Object
CfnCluster.PlacementTypeProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnCluster.PlacementTypeProperty.Builder |
availabilityZone(java.lang.String availabilityZone)
Sets the value of
CfnCluster.PlacementTypeProperty.getAvailabilityZone() |
CfnCluster.PlacementTypeProperty |
build()
Builds the configured instance.
|
public CfnCluster.PlacementTypeProperty.Builder availabilityZone(java.lang.String availabilityZone)
CfnCluster.PlacementTypeProperty.getAvailabilityZone()
availabilityZone
- The Amazon EC2 Availability Zone for the cluster. This parameter is required.
AvailabilityZone
is used for uniform instance groups, while AvailabilityZones
(plural) is used for instance fleets.this
public CfnCluster.PlacementTypeProperty build()
CfnCluster.PlacementTypeProperty
java.lang.NullPointerException
- if any required attribute was not provided