Struct aws_sdk_emr::model::PlacementType
source · #[non_exhaustive]pub struct PlacementType { /* private fields */ }Expand description
The Amazon EC2 Availability Zone configuration of the cluster (job flow).
Implementations§
source§impl PlacementType
impl PlacementType
sourcepub fn availability_zone(&self) -> Option<&str>
pub fn availability_zone(&self) -> Option<&str>
The Amazon EC2 Availability Zone for the cluster. AvailabilityZone is used for uniform instance groups, while AvailabilityZones (plural) is used for instance fleets.
sourcepub fn availability_zones(&self) -> Option<&[String]>
pub fn availability_zones(&self) -> Option<&[String]>
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.
source§impl PlacementType
impl PlacementType
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PlacementType.
Trait Implementations§
source§impl Clone for PlacementType
impl Clone for PlacementType
source§fn clone(&self) -> PlacementType
fn clone(&self) -> PlacementType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more