Struct aws_sdk_ec2::types::builders::ConnectionNotificationBuilder
source · #[non_exhaustive]pub struct ConnectionNotificationBuilder { /* private fields */ }
Expand description
A builder for ConnectionNotification
.
Implementations§
source§impl ConnectionNotificationBuilder
impl ConnectionNotificationBuilder
sourcepub fn connection_notification_id(self, input: impl Into<String>) -> Self
pub fn connection_notification_id(self, input: impl Into<String>) -> Self
The ID of the notification.
sourcepub fn set_connection_notification_id(self, input: Option<String>) -> Self
pub fn set_connection_notification_id(self, input: Option<String>) -> Self
The ID of the notification.
sourcepub fn get_connection_notification_id(&self) -> &Option<String>
pub fn get_connection_notification_id(&self) -> &Option<String>
The ID of the notification.
sourcepub fn service_id(self, input: impl Into<String>) -> Self
pub fn service_id(self, input: impl Into<String>) -> Self
The ID of the endpoint service.
sourcepub fn set_service_id(self, input: Option<String>) -> Self
pub fn set_service_id(self, input: Option<String>) -> Self
The ID of the endpoint service.
sourcepub fn get_service_id(&self) -> &Option<String>
pub fn get_service_id(&self) -> &Option<String>
The ID of the endpoint service.
sourcepub fn vpc_endpoint_id(self, input: impl Into<String>) -> Self
pub fn vpc_endpoint_id(self, input: impl Into<String>) -> Self
The ID of the VPC endpoint.
sourcepub fn set_vpc_endpoint_id(self, input: Option<String>) -> Self
pub fn set_vpc_endpoint_id(self, input: Option<String>) -> Self
The ID of the VPC endpoint.
sourcepub fn get_vpc_endpoint_id(&self) -> &Option<String>
pub fn get_vpc_endpoint_id(&self) -> &Option<String>
The ID of the VPC endpoint.
sourcepub fn connection_notification_type(
self,
input: ConnectionNotificationType
) -> Self
pub fn connection_notification_type( self, input: ConnectionNotificationType ) -> Self
The type of notification.
sourcepub fn set_connection_notification_type(
self,
input: Option<ConnectionNotificationType>
) -> Self
pub fn set_connection_notification_type( self, input: Option<ConnectionNotificationType> ) -> Self
The type of notification.
sourcepub fn get_connection_notification_type(
&self
) -> &Option<ConnectionNotificationType>
pub fn get_connection_notification_type( &self ) -> &Option<ConnectionNotificationType>
The type of notification.
sourcepub fn connection_notification_arn(self, input: impl Into<String>) -> Self
pub fn connection_notification_arn(self, input: impl Into<String>) -> Self
The ARN of the SNS topic for the notification.
sourcepub fn set_connection_notification_arn(self, input: Option<String>) -> Self
pub fn set_connection_notification_arn(self, input: Option<String>) -> Self
The ARN of the SNS topic for the notification.
sourcepub fn get_connection_notification_arn(&self) -> &Option<String>
pub fn get_connection_notification_arn(&self) -> &Option<String>
The ARN of the SNS topic for the notification.
sourcepub fn connection_events(self, input: impl Into<String>) -> Self
pub fn connection_events(self, input: impl Into<String>) -> Self
Appends an item to connection_events
.
To override the contents of this collection use set_connection_events
.
The events for the notification. Valid values are Accept
, Connect
, Delete
, and Reject
.
sourcepub fn set_connection_events(self, input: Option<Vec<String>>) -> Self
pub fn set_connection_events(self, input: Option<Vec<String>>) -> Self
The events for the notification. Valid values are Accept
, Connect
, Delete
, and Reject
.
sourcepub fn get_connection_events(&self) -> &Option<Vec<String>>
pub fn get_connection_events(&self) -> &Option<Vec<String>>
The events for the notification. Valid values are Accept
, Connect
, Delete
, and Reject
.
sourcepub fn connection_notification_state(
self,
input: ConnectionNotificationState
) -> Self
pub fn connection_notification_state( self, input: ConnectionNotificationState ) -> Self
The state of the notification.
sourcepub fn set_connection_notification_state(
self,
input: Option<ConnectionNotificationState>
) -> Self
pub fn set_connection_notification_state( self, input: Option<ConnectionNotificationState> ) -> Self
The state of the notification.
sourcepub fn get_connection_notification_state(
&self
) -> &Option<ConnectionNotificationState>
pub fn get_connection_notification_state( &self ) -> &Option<ConnectionNotificationState>
The state of the notification.
sourcepub fn build(self) -> ConnectionNotification
pub fn build(self) -> ConnectionNotification
Consumes the builder and constructs a ConnectionNotification
.
Trait Implementations§
source§impl Clone for ConnectionNotificationBuilder
impl Clone for ConnectionNotificationBuilder
source§fn clone(&self) -> ConnectionNotificationBuilder
fn clone(&self) -> ConnectionNotificationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ConnectionNotificationBuilder
impl Default for ConnectionNotificationBuilder
source§fn default() -> ConnectionNotificationBuilder
fn default() -> ConnectionNotificationBuilder
source§impl PartialEq<ConnectionNotificationBuilder> for ConnectionNotificationBuilder
impl PartialEq<ConnectionNotificationBuilder> for ConnectionNotificationBuilder
source§fn eq(&self, other: &ConnectionNotificationBuilder) -> bool
fn eq(&self, other: &ConnectionNotificationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.