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 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 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 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 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 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 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 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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for ConnectionNotificationBuilder
impl Default for ConnectionNotificationBuilder
source§fn default() -> ConnectionNotificationBuilder
fn default() -> ConnectionNotificationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<ConnectionNotificationBuilder> for ConnectionNotificationBuilder
impl PartialEq<ConnectionNotificationBuilder> for ConnectionNotificationBuilder
source§fn eq(&self, other: &ConnectionNotificationBuilder) -> bool
fn eq(&self, other: &ConnectionNotificationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ConnectionNotificationBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ConnectionNotificationBuilder
impl Send for ConnectionNotificationBuilder
impl Sync for ConnectionNotificationBuilder
impl Unpin for ConnectionNotificationBuilder
impl UnwindSafe for ConnectionNotificationBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more