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 for ConnectionNotificationBuilder
impl PartialEq 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 ==
.impl StructuralPartialEq for ConnectionNotificationBuilder
Auto Trait Implementations§
impl Freeze for ConnectionNotificationBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more