Struct aws_sdk_codestarnotifications::operation::delete_target::builders::DeleteTargetInputBuilder
source · #[non_exhaustive]pub struct DeleteTargetInputBuilder { /* private fields */ }
Expand description
A builder for DeleteTargetInput
.
Implementations§
source§impl DeleteTargetInputBuilder
impl DeleteTargetInputBuilder
sourcepub fn target_address(self, input: impl Into<String>) -> Self
pub fn target_address(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the Chatbot topic or Chatbot client to delete.
This field is required.sourcepub fn set_target_address(self, input: Option<String>) -> Self
pub fn set_target_address(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the Chatbot topic or Chatbot client to delete.
sourcepub fn get_target_address(&self) -> &Option<String>
pub fn get_target_address(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the Chatbot topic or Chatbot client to delete.
sourcepub fn force_unsubscribe_all(self, input: bool) -> Self
pub fn force_unsubscribe_all(self, input: bool) -> Self
A Boolean value that can be used to delete all associations with this Chatbot topic. The default value is FALSE. If set to TRUE, all associations between that target and every notification rule in your Amazon Web Services account are deleted.
sourcepub fn set_force_unsubscribe_all(self, input: Option<bool>) -> Self
pub fn set_force_unsubscribe_all(self, input: Option<bool>) -> Self
A Boolean value that can be used to delete all associations with this Chatbot topic. The default value is FALSE. If set to TRUE, all associations between that target and every notification rule in your Amazon Web Services account are deleted.
sourcepub fn get_force_unsubscribe_all(&self) -> &Option<bool>
pub fn get_force_unsubscribe_all(&self) -> &Option<bool>
A Boolean value that can be used to delete all associations with this Chatbot topic. The default value is FALSE. If set to TRUE, all associations between that target and every notification rule in your Amazon Web Services account are deleted.
sourcepub fn build(self) -> Result<DeleteTargetInput, BuildError>
pub fn build(self) -> Result<DeleteTargetInput, BuildError>
Consumes the builder and constructs a DeleteTargetInput
.
source§impl DeleteTargetInputBuilder
impl DeleteTargetInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<DeleteTargetOutput, SdkError<DeleteTargetError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<DeleteTargetOutput, SdkError<DeleteTargetError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DeleteTargetInputBuilder
impl Clone for DeleteTargetInputBuilder
source§fn clone(&self) -> DeleteTargetInputBuilder
fn clone(&self) -> DeleteTargetInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DeleteTargetInputBuilder
impl Debug for DeleteTargetInputBuilder
source§impl Default for DeleteTargetInputBuilder
impl Default for DeleteTargetInputBuilder
source§fn default() -> DeleteTargetInputBuilder
fn default() -> DeleteTargetInputBuilder
source§impl PartialEq for DeleteTargetInputBuilder
impl PartialEq for DeleteTargetInputBuilder
impl StructuralPartialEq for DeleteTargetInputBuilder
Auto Trait Implementations§
impl Freeze for DeleteTargetInputBuilder
impl RefUnwindSafe for DeleteTargetInputBuilder
impl Send for DeleteTargetInputBuilder
impl Sync for DeleteTargetInputBuilder
impl Unpin for DeleteTargetInputBuilder
impl UnwindSafe for DeleteTargetInputBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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>
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>
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 more