Struct aws_sdk_iot1clickprojects::operation::delete_placement::builders::DeletePlacementInputBuilder
source · #[non_exhaustive]pub struct DeletePlacementInputBuilder { /* private fields */ }Expand description
A builder for DeletePlacementInput.
Implementations§
source§impl DeletePlacementInputBuilder
impl DeletePlacementInputBuilder
sourcepub fn placement_name(self, input: impl Into<String>) -> Self
pub fn placement_name(self, input: impl Into<String>) -> Self
The name of the empty placement to delete.
This field is required.sourcepub fn set_placement_name(self, input: Option<String>) -> Self
pub fn set_placement_name(self, input: Option<String>) -> Self
The name of the empty placement to delete.
sourcepub fn get_placement_name(&self) -> &Option<String>
pub fn get_placement_name(&self) -> &Option<String>
The name of the empty placement to delete.
sourcepub fn project_name(self, input: impl Into<String>) -> Self
pub fn project_name(self, input: impl Into<String>) -> Self
The project containing the empty placement to delete.
This field is required.sourcepub fn set_project_name(self, input: Option<String>) -> Self
pub fn set_project_name(self, input: Option<String>) -> Self
The project containing the empty placement to delete.
sourcepub fn get_project_name(&self) -> &Option<String>
pub fn get_project_name(&self) -> &Option<String>
The project containing the empty placement to delete.
sourcepub fn build(self) -> Result<DeletePlacementInput, BuildError>
pub fn build(self) -> Result<DeletePlacementInput, BuildError>
Consumes the builder and constructs a DeletePlacementInput.
source§impl DeletePlacementInputBuilder
impl DeletePlacementInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DeletePlacementOutput, SdkError<DeletePlacementError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DeletePlacementOutput, SdkError<DeletePlacementError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DeletePlacementInputBuilder
impl Clone for DeletePlacementInputBuilder
source§fn clone(&self) -> DeletePlacementInputBuilder
fn clone(&self) -> DeletePlacementInputBuilder
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 DeletePlacementInputBuilder
impl Debug for DeletePlacementInputBuilder
source§impl Default for DeletePlacementInputBuilder
impl Default for DeletePlacementInputBuilder
source§fn default() -> DeletePlacementInputBuilder
fn default() -> DeletePlacementInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DeletePlacementInputBuilder
impl PartialEq for DeletePlacementInputBuilder
source§fn eq(&self, other: &DeletePlacementInputBuilder) -> bool
fn eq(&self, other: &DeletePlacementInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DeletePlacementInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DeletePlacementInputBuilder
impl Send for DeletePlacementInputBuilder
impl Sync for DeletePlacementInputBuilder
impl Unpin for DeletePlacementInputBuilder
impl UnwindSafe for DeletePlacementInputBuilder
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>
Creates a shared type from an unshared type.