Struct aws_sdk_autoscaling::operation::put_notification_configuration::builders::PutNotificationConfigurationInputBuilder
source · #[non_exhaustive]pub struct PutNotificationConfigurationInputBuilder { /* private fields */ }Expand description
A builder for PutNotificationConfigurationInput.
Implementations§
source§impl PutNotificationConfigurationInputBuilder
impl PutNotificationConfigurationInputBuilder
sourcepub fn auto_scaling_group_name(self, input: impl Into<String>) -> Self
pub fn auto_scaling_group_name(self, input: impl Into<String>) -> Self
The name of the Auto Scaling group.
This field is required.sourcepub fn set_auto_scaling_group_name(self, input: Option<String>) -> Self
pub fn set_auto_scaling_group_name(self, input: Option<String>) -> Self
The name of the Auto Scaling group.
sourcepub fn get_auto_scaling_group_name(&self) -> &Option<String>
pub fn get_auto_scaling_group_name(&self) -> &Option<String>
The name of the Auto Scaling group.
sourcepub fn topic_arn(self, input: impl Into<String>) -> Self
pub fn topic_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the Amazon SNS topic.
This field is required.sourcepub fn set_topic_arn(self, input: Option<String>) -> Self
pub fn set_topic_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the Amazon SNS topic.
sourcepub fn get_topic_arn(&self) -> &Option<String>
pub fn get_topic_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the Amazon SNS topic.
sourcepub fn notification_types(self, input: impl Into<String>) -> Self
pub fn notification_types(self, input: impl Into<String>) -> Self
Appends an item to notification_types.
To override the contents of this collection use set_notification_types.
The type of event that causes the notification to be sent. To query the notification types supported by Amazon EC2 Auto Scaling, call the DescribeAutoScalingNotificationTypes API.
sourcepub fn set_notification_types(self, input: Option<Vec<String>>) -> Self
pub fn set_notification_types(self, input: Option<Vec<String>>) -> Self
The type of event that causes the notification to be sent. To query the notification types supported by Amazon EC2 Auto Scaling, call the DescribeAutoScalingNotificationTypes API.
sourcepub fn get_notification_types(&self) -> &Option<Vec<String>>
pub fn get_notification_types(&self) -> &Option<Vec<String>>
The type of event that causes the notification to be sent. To query the notification types supported by Amazon EC2 Auto Scaling, call the DescribeAutoScalingNotificationTypes API.
sourcepub fn build(self) -> Result<PutNotificationConfigurationInput, BuildError>
pub fn build(self) -> Result<PutNotificationConfigurationInput, BuildError>
Consumes the builder and constructs a PutNotificationConfigurationInput.
source§impl PutNotificationConfigurationInputBuilder
impl PutNotificationConfigurationInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<PutNotificationConfigurationOutput, SdkError<PutNotificationConfigurationError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<PutNotificationConfigurationOutput, SdkError<PutNotificationConfigurationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for PutNotificationConfigurationInputBuilder
impl Clone for PutNotificationConfigurationInputBuilder
source§fn clone(&self) -> PutNotificationConfigurationInputBuilder
fn clone(&self) -> PutNotificationConfigurationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for PutNotificationConfigurationInputBuilder
impl Default for PutNotificationConfigurationInputBuilder
source§fn default() -> PutNotificationConfigurationInputBuilder
fn default() -> PutNotificationConfigurationInputBuilder
source§impl PartialEq for PutNotificationConfigurationInputBuilder
impl PartialEq for PutNotificationConfigurationInputBuilder
source§fn eq(&self, other: &PutNotificationConfigurationInputBuilder) -> bool
fn eq(&self, other: &PutNotificationConfigurationInputBuilder) -> bool
self and other values to be equal, and is used
by ==.