Struct rusoto_emr::PlacementType [−][src]
pub struct PlacementType { pub availability_zone: Option<String>, pub availability_zones: Option<Vec<String>>, }
The Amazon EC2 Availability Zone configuration of the cluster (job flow).
Fields
availability_zone: Option<String>
The Amazon EC2 Availability Zone for the cluster. AvailabilityZone
is used for uniform instance groups, while AvailabilityZones
(plural) is used for instance fleets.
availability_zones: Option<Vec<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.
Trait Implementations
impl Default for PlacementType
[src]
impl Default for PlacementType
fn default() -> PlacementType
[src]
fn default() -> PlacementType
Returns the "default value" for a type. Read more
impl Debug for PlacementType
[src]
impl Debug for PlacementType
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for PlacementType
[src]
impl Clone for PlacementType
fn clone(&self) -> PlacementType
[src]
fn clone(&self) -> PlacementType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl PartialEq for PlacementType
[src]
impl PartialEq for PlacementType
fn eq(&self, other: &PlacementType) -> bool
[src]
fn eq(&self, other: &PlacementType) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &PlacementType) -> bool
[src]
fn ne(&self, other: &PlacementType) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for PlacementType
impl Send for PlacementType
impl Sync for PlacementType
impl Sync for PlacementType