Struct aws_sdk_ec2::types::builders::PlacementResponseBuilder
source · #[non_exhaustive]pub struct PlacementResponseBuilder { /* private fields */ }
Expand description
A builder for PlacementResponse
.
Implementations§
source§impl PlacementResponseBuilder
impl PlacementResponseBuilder
sourcepub fn group_name(self, input: impl Into<String>) -> Self
pub fn group_name(self, input: impl Into<String>) -> Self
The name of the placement group that the instance is in.
sourcepub fn set_group_name(self, input: Option<String>) -> Self
pub fn set_group_name(self, input: Option<String>) -> Self
The name of the placement group that the instance is in.
sourcepub fn get_group_name(&self) -> &Option<String>
pub fn get_group_name(&self) -> &Option<String>
The name of the placement group that the instance is in.
sourcepub fn build(self) -> PlacementResponse
pub fn build(self) -> PlacementResponse
Consumes the builder and constructs a PlacementResponse
.
Trait Implementations§
source§impl Clone for PlacementResponseBuilder
impl Clone for PlacementResponseBuilder
source§fn clone(&self) -> PlacementResponseBuilder
fn clone(&self) -> PlacementResponseBuilder
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 PlacementResponseBuilder
impl Debug for PlacementResponseBuilder
source§impl Default for PlacementResponseBuilder
impl Default for PlacementResponseBuilder
source§fn default() -> PlacementResponseBuilder
fn default() -> PlacementResponseBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<PlacementResponseBuilder> for PlacementResponseBuilder
impl PartialEq<PlacementResponseBuilder> for PlacementResponseBuilder
source§fn eq(&self, other: &PlacementResponseBuilder) -> bool
fn eq(&self, other: &PlacementResponseBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PlacementResponseBuilder
Auto Trait Implementations§
impl RefUnwindSafe for PlacementResponseBuilder
impl Send for PlacementResponseBuilder
impl Sync for PlacementResponseBuilder
impl Unpin for PlacementResponseBuilder
impl UnwindSafe for PlacementResponseBuilder
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