#[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 get_arn(&self) -> &Option<String>
pub fn get_arn(&self) -> &Option<String>
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 get_target(&self) -> &Option<Target>
pub fn get_target(&self) -> &Option<Target>
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 get_client_request_token(&self) -> &Option<String>
pub fn get_client_request_token(&self) -> &Option<String>
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
.
source§impl SubscribeInputBuilder
impl SubscribeInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<SubscribeOutput, SdkError<SubscribeError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<SubscribeOutput, SdkError<SubscribeError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for SubscribeInputBuilder
impl Clone for SubscribeInputBuilder
source§fn clone(&self) -> SubscribeInputBuilder
fn clone(&self) -> SubscribeInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
source§impl PartialEq<SubscribeInputBuilder> for SubscribeInputBuilder
impl PartialEq<SubscribeInputBuilder> for SubscribeInputBuilder
source§fn eq(&self, other: &SubscribeInputBuilder) -> bool
fn eq(&self, other: &SubscribeInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.