Struct aws_sdk_sns::operation::subscribe::builders::SubscribeOutputBuilder
source · #[non_exhaustive]pub struct SubscribeOutputBuilder { /* private fields */ }
Expand description
A builder for SubscribeOutput
.
Implementations§
source§impl SubscribeOutputBuilder
impl SubscribeOutputBuilder
sourcepub fn subscription_arn(self, input: impl Into<String>) -> Self
pub fn subscription_arn(self, input: impl Into<String>) -> Self
The ARN of the subscription if it is confirmed, or the string "pending confirmation" if the subscription requires confirmation. However, if the API request parameter ReturnSubscriptionArn
is true, then the value is always the subscription ARN, even if the subscription requires confirmation.
sourcepub fn set_subscription_arn(self, input: Option<String>) -> Self
pub fn set_subscription_arn(self, input: Option<String>) -> Self
The ARN of the subscription if it is confirmed, or the string "pending confirmation" if the subscription requires confirmation. However, if the API request parameter ReturnSubscriptionArn
is true, then the value is always the subscription ARN, even if the subscription requires confirmation.
sourcepub fn get_subscription_arn(&self) -> &Option<String>
pub fn get_subscription_arn(&self) -> &Option<String>
The ARN of the subscription if it is confirmed, or the string "pending confirmation" if the subscription requires confirmation. However, if the API request parameter ReturnSubscriptionArn
is true, then the value is always the subscription ARN, even if the subscription requires confirmation.
sourcepub fn build(self) -> SubscribeOutput
pub fn build(self) -> SubscribeOutput
Consumes the builder and constructs a SubscribeOutput
.
Trait Implementations§
source§impl Clone for SubscribeOutputBuilder
impl Clone for SubscribeOutputBuilder
source§fn clone(&self) -> SubscribeOutputBuilder
fn clone(&self) -> SubscribeOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SubscribeOutputBuilder
impl Debug for SubscribeOutputBuilder
source§impl Default for SubscribeOutputBuilder
impl Default for SubscribeOutputBuilder
source§fn default() -> SubscribeOutputBuilder
fn default() -> SubscribeOutputBuilder
source§impl PartialEq for SubscribeOutputBuilder
impl PartialEq for SubscribeOutputBuilder
source§fn eq(&self, other: &SubscribeOutputBuilder) -> bool
fn eq(&self, other: &SubscribeOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.