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.
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<DeleteTargetInputBuilder> for DeleteTargetInputBuilder
impl PartialEq<DeleteTargetInputBuilder> for DeleteTargetInputBuilder
source§fn eq(&self, other: &DeleteTargetInputBuilder) -> bool
fn eq(&self, other: &DeleteTargetInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.