#[non_exhaustive]pub struct SubscribeInputBuilder { /* private fields */ }Expand description
A builder for SubscribeInput.
Implementations§
source§impl SubscribeInputBuilder
impl SubscribeInputBuilder
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the notification rule for which you want to create the association.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the notification rule for which you want to create the association.
sourcepub fn target(self, input: Target) -> Self
pub fn target(self, input: Target) -> Self
Information about the Chatbot topics or Chatbot clients associated with a notification rule.
sourcepub fn set_target(self, input: Option<Target>) -> Self
pub fn set_target(self, input: Option<Target>) -> Self
Information about the Chatbot topics or Chatbot clients associated with a notification rule.
sourcepub fn client_request_token(self, input: impl Into<String>) -> Self
pub fn client_request_token(self, input: impl Into<String>) -> Self
An enumeration token that, when provided in a request, returns the next batch of the results.
sourcepub fn set_client_request_token(self, input: Option<String>) -> Self
pub fn set_client_request_token(self, input: Option<String>) -> Self
An enumeration token that, when provided in a request, returns the next batch of the results.
sourcepub fn build(self) -> Result<SubscribeInput, BuildError>
pub fn build(self) -> Result<SubscribeInput, BuildError>
Consumes the builder and constructs a SubscribeInput.
Trait Implementations§
source§impl Clone for SubscribeInputBuilder
impl Clone for SubscribeInputBuilder
source§fn clone(&self) -> SubscribeInputBuilder
fn clone(&self) -> SubscribeInputBuilder
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 SubscribeInputBuilder
impl Debug for SubscribeInputBuilder
source§impl Default for SubscribeInputBuilder
impl Default for SubscribeInputBuilder
source§fn default() -> SubscribeInputBuilder
fn default() -> SubscribeInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<SubscribeInputBuilder> for SubscribeInputBuilder
impl PartialEq<SubscribeInputBuilder> for SubscribeInputBuilder
source§fn eq(&self, other: &SubscribeInputBuilder) -> bool
fn eq(&self, other: &SubscribeInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for SubscribeInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for SubscribeInputBuilder
impl Send for SubscribeInputBuilder
impl Sync for SubscribeInputBuilder
impl Unpin for SubscribeInputBuilder
impl UnwindSafe for SubscribeInputBuilder
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