Struct aws_sdk_emr::types::builders::PlacementGroupConfigBuilder
source · #[non_exhaustive]pub struct PlacementGroupConfigBuilder { /* private fields */ }Expand description
A builder for PlacementGroupConfig.
Implementations§
source§impl PlacementGroupConfigBuilder
impl PlacementGroupConfigBuilder
sourcepub fn instance_role(self, input: InstanceRoleType) -> Self
pub fn instance_role(self, input: InstanceRoleType) -> Self
Role of the instance in the cluster.
Starting with Amazon EMR release 5.23.0, the only supported instance role is MASTER.
sourcepub fn set_instance_role(self, input: Option<InstanceRoleType>) -> Self
pub fn set_instance_role(self, input: Option<InstanceRoleType>) -> Self
Role of the instance in the cluster.
Starting with Amazon EMR release 5.23.0, the only supported instance role is MASTER.
sourcepub fn placement_strategy(self, input: PlacementGroupStrategy) -> Self
pub fn placement_strategy(self, input: PlacementGroupStrategy) -> Self
Amazon EC2 Placement Group strategy associated with instance role.
Starting with Amazon EMR release 5.23.0, the only supported placement strategy is SPREAD for the MASTER instance role.
sourcepub fn set_placement_strategy(
self,
input: Option<PlacementGroupStrategy>
) -> Self
pub fn set_placement_strategy( self, input: Option<PlacementGroupStrategy> ) -> Self
Amazon EC2 Placement Group strategy associated with instance role.
Starting with Amazon EMR release 5.23.0, the only supported placement strategy is SPREAD for the MASTER instance role.
sourcepub fn build(self) -> PlacementGroupConfig
pub fn build(self) -> PlacementGroupConfig
Consumes the builder and constructs a PlacementGroupConfig.
Trait Implementations§
source§impl Clone for PlacementGroupConfigBuilder
impl Clone for PlacementGroupConfigBuilder
source§fn clone(&self) -> PlacementGroupConfigBuilder
fn clone(&self) -> PlacementGroupConfigBuilder
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 moresource§impl Debug for PlacementGroupConfigBuilder
impl Debug for PlacementGroupConfigBuilder
source§impl Default for PlacementGroupConfigBuilder
impl Default for PlacementGroupConfigBuilder
source§fn default() -> PlacementGroupConfigBuilder
fn default() -> PlacementGroupConfigBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<PlacementGroupConfigBuilder> for PlacementGroupConfigBuilder
impl PartialEq<PlacementGroupConfigBuilder> for PlacementGroupConfigBuilder
source§fn eq(&self, other: &PlacementGroupConfigBuilder) -> bool
fn eq(&self, other: &PlacementGroupConfigBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for PlacementGroupConfigBuilder
Auto Trait Implementations§
impl RefUnwindSafe for PlacementGroupConfigBuilder
impl Send for PlacementGroupConfigBuilder
impl Sync for PlacementGroupConfigBuilder
impl Unpin for PlacementGroupConfigBuilder
impl UnwindSafe for PlacementGroupConfigBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more