Struct aws_sdk_iot1clickprojects::operation::create_placement::builders::CreatePlacementInputBuilder    
source · #[non_exhaustive]pub struct CreatePlacementInputBuilder { /* private fields */ }Expand description
A builder for CreatePlacementInput.
Implementations§
source§impl CreatePlacementInputBuilder
 
impl CreatePlacementInputBuilder
sourcepub fn placement_name(self, input: impl Into<String>) -> Self
 
pub fn placement_name(self, input: impl Into<String>) -> Self
The name of the placement to be created.
sourcepub fn set_placement_name(self, input: Option<String>) -> Self
 
pub fn set_placement_name(self, input: Option<String>) -> Self
The name of the placement to be created.
sourcepub fn project_name(self, input: impl Into<String>) -> Self
 
pub fn project_name(self, input: impl Into<String>) -> Self
The name of the project in which to create the placement.
sourcepub fn set_project_name(self, input: Option<String>) -> Self
 
pub fn set_project_name(self, input: Option<String>) -> Self
The name of the project in which to create the placement.
sourcepub fn attributes(self, k: impl Into<String>, v: impl Into<String>) -> Self
 
pub fn attributes(self, k: impl Into<String>, v: impl Into<String>) -> Self
Adds a key-value pair to attributes.
To override the contents of this collection use set_attributes.
Optional user-defined key/value pairs providing contextual data (such as location or function) for the placement.
sourcepub fn set_attributes(self, input: Option<HashMap<String, String>>) -> Self
 
pub fn set_attributes(self, input: Option<HashMap<String, String>>) -> Self
Optional user-defined key/value pairs providing contextual data (such as location or function) for the placement.
sourcepub fn build(self) -> Result<CreatePlacementInput, BuildError>
 
pub fn build(self) -> Result<CreatePlacementInput, BuildError>
Consumes the builder and constructs a CreatePlacementInput.
Trait Implementations§
source§impl Clone for CreatePlacementInputBuilder
 
impl Clone for CreatePlacementInputBuilder
source§fn clone(&self) -> CreatePlacementInputBuilder
 
fn clone(&self) -> CreatePlacementInputBuilder
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 CreatePlacementInputBuilder
 
impl Debug for CreatePlacementInputBuilder
source§impl Default for CreatePlacementInputBuilder
 
impl Default for CreatePlacementInputBuilder
source§fn default() -> CreatePlacementInputBuilder
 
fn default() -> CreatePlacementInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<CreatePlacementInputBuilder> for CreatePlacementInputBuilder
 
impl PartialEq<CreatePlacementInputBuilder> for CreatePlacementInputBuilder
source§fn eq(&self, other: &CreatePlacementInputBuilder) -> bool
 
fn eq(&self, other: &CreatePlacementInputBuilder) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreatePlacementInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CreatePlacementInputBuilder
impl Send for CreatePlacementInputBuilder
impl Sync for CreatePlacementInputBuilder
impl Unpin for CreatePlacementInputBuilder
impl UnwindSafe for CreatePlacementInputBuilder
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