Struct aws_sdk_ec2::operation::modify_vpc_endpoint_connection_notification::builders::ModifyVpcEndpointConnectionNotificationInputBuilder
source · #[non_exhaustive]pub struct ModifyVpcEndpointConnectionNotificationInputBuilder { /* private fields */ }
Expand description
A builder for ModifyVpcEndpointConnectionNotificationInput
.
Implementations§
source§impl ModifyVpcEndpointConnectionNotificationInputBuilder
impl ModifyVpcEndpointConnectionNotificationInputBuilder
sourcepub fn dry_run(self, input: bool) -> Self
pub fn dry_run(self, input: bool) -> Self
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
sourcepub fn set_dry_run(self, input: Option<bool>) -> Self
pub fn set_dry_run(self, input: Option<bool>) -> Self
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
sourcepub fn get_dry_run(&self) -> &Option<bool>
pub fn get_dry_run(&self) -> &Option<bool>
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
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 connection_notification_arn(self, input: impl Into<String>) -> Self
pub fn connection_notification_arn(self, input: impl Into<String>) -> Self
The ARN for 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 for 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 for 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 endpoint. 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 endpoint. 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 endpoint. Valid values are Accept
, Connect
, Delete
, and Reject
.
sourcepub fn build(
self
) -> Result<ModifyVpcEndpointConnectionNotificationInput, BuildError>
pub fn build( self ) -> Result<ModifyVpcEndpointConnectionNotificationInput, BuildError>
Consumes the builder and constructs a ModifyVpcEndpointConnectionNotificationInput
.
source§impl ModifyVpcEndpointConnectionNotificationInputBuilder
impl ModifyVpcEndpointConnectionNotificationInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ModifyVpcEndpointConnectionNotificationOutput, SdkError<ModifyVpcEndpointConnectionNotificationError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ModifyVpcEndpointConnectionNotificationOutput, SdkError<ModifyVpcEndpointConnectionNotificationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ModifyVpcEndpointConnectionNotificationInputBuilder
impl Clone for ModifyVpcEndpointConnectionNotificationInputBuilder
source§fn clone(&self) -> ModifyVpcEndpointConnectionNotificationInputBuilder
fn clone(&self) -> ModifyVpcEndpointConnectionNotificationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ModifyVpcEndpointConnectionNotificationInputBuilder
impl Default for ModifyVpcEndpointConnectionNotificationInputBuilder
source§fn default() -> ModifyVpcEndpointConnectionNotificationInputBuilder
fn default() -> ModifyVpcEndpointConnectionNotificationInputBuilder
source§impl PartialEq<ModifyVpcEndpointConnectionNotificationInputBuilder> for ModifyVpcEndpointConnectionNotificationInputBuilder
impl PartialEq<ModifyVpcEndpointConnectionNotificationInputBuilder> for ModifyVpcEndpointConnectionNotificationInputBuilder
source§fn eq(
&self,
other: &ModifyVpcEndpointConnectionNotificationInputBuilder
) -> bool
fn eq( &self, other: &ModifyVpcEndpointConnectionNotificationInputBuilder ) -> bool
self
and other
values to be equal, and is used
by ==
.