Struct aws_sdk_ec2::types::builders::PlacementGroupInfoBuilder
source · #[non_exhaustive]pub struct PlacementGroupInfoBuilder { /* private fields */ }
Expand description
A builder for PlacementGroupInfo
.
Implementations§
source§impl PlacementGroupInfoBuilder
impl PlacementGroupInfoBuilder
sourcepub fn supported_strategies(self, input: PlacementGroupStrategy) -> Self
pub fn supported_strategies(self, input: PlacementGroupStrategy) -> Self
Appends an item to supported_strategies
.
To override the contents of this collection use set_supported_strategies
.
The supported placement group types.
sourcepub fn set_supported_strategies(
self,
input: Option<Vec<PlacementGroupStrategy>>,
) -> Self
pub fn set_supported_strategies( self, input: Option<Vec<PlacementGroupStrategy>>, ) -> Self
The supported placement group types.
sourcepub fn get_supported_strategies(&self) -> &Option<Vec<PlacementGroupStrategy>>
pub fn get_supported_strategies(&self) -> &Option<Vec<PlacementGroupStrategy>>
The supported placement group types.
sourcepub fn build(self) -> PlacementGroupInfo
pub fn build(self) -> PlacementGroupInfo
Consumes the builder and constructs a PlacementGroupInfo
.
Trait Implementations§
source§impl Clone for PlacementGroupInfoBuilder
impl Clone for PlacementGroupInfoBuilder
source§fn clone(&self) -> PlacementGroupInfoBuilder
fn clone(&self) -> PlacementGroupInfoBuilder
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 PlacementGroupInfoBuilder
impl Debug for PlacementGroupInfoBuilder
source§impl Default for PlacementGroupInfoBuilder
impl Default for PlacementGroupInfoBuilder
source§fn default() -> PlacementGroupInfoBuilder
fn default() -> PlacementGroupInfoBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for PlacementGroupInfoBuilder
impl PartialEq for PlacementGroupInfoBuilder
source§fn eq(&self, other: &PlacementGroupInfoBuilder) -> bool
fn eq(&self, other: &PlacementGroupInfoBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PlacementGroupInfoBuilder
Auto Trait Implementations§
impl Freeze for PlacementGroupInfoBuilder
impl RefUnwindSafe for PlacementGroupInfoBuilder
impl Send for PlacementGroupInfoBuilder
impl Sync for PlacementGroupInfoBuilder
impl Unpin for PlacementGroupInfoBuilder
impl UnwindSafe for PlacementGroupInfoBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.