@Generated(value="software.amazon.awssdk:codegen") public class PlacementType extends Object implements StructuredPojo, ToCopyableBuilder<PlacementType.Builder,PlacementType>
The Amazon EC2 Availability Zone configuration of the cluster (job flow).
| Modifier and Type | Class and Description |
|---|---|
static interface |
PlacementType.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
availabilityZone()
The Amazon EC2 Availability Zone for the cluster.
|
List<String> |
availabilityZones()
When multiple Availability Zones are specified, Amazon EMR evaluates them and launches instances in the optimal
Availability Zone.
|
static PlacementType.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
static Class<? extends PlacementType.Builder> |
serializableBuilderClass() |
PlacementType.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copypublic String availabilityZone()
The Amazon EC2 Availability Zone for the cluster. AvailabilityZone is used for uniform instance
groups, while AvailabilityZones (plural) is used for instance fleets.
AvailabilityZone is used for uniform
instance groups, while AvailabilityZones (plural) is used for instance fleets.public List<String> availabilityZones()
When multiple Availability Zones are specified, Amazon EMR evaluates them and launches instances in the optimal
Availability Zone. AvailabilityZones is used for instance fleets, while
AvailabilityZone (singular) is used for uniform instance groups.
The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
AvailabilityZones is used for instance fleets, while
AvailabilityZone (singular) is used for uniform instance groups. The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.
public PlacementType.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<PlacementType.Builder,PlacementType>public static PlacementType.Builder builder()
public static Class<? extends PlacementType.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.