pub struct Builder { /* private fields */ }
Expand description
A builder for SubscribeInput
.
Implementations§
source§impl Builder
impl Builder
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
.