Struct aws_sdk_ec2::operation::delete_egress_only_internet_gateway::builders::DeleteEgressOnlyInternetGatewayInputBuilder
source · #[non_exhaustive]pub struct DeleteEgressOnlyInternetGatewayInputBuilder { /* private fields */ }Expand description
A builder for DeleteEgressOnlyInternetGatewayInput.
Implementations§
source§impl DeleteEgressOnlyInternetGatewayInputBuilder
impl DeleteEgressOnlyInternetGatewayInputBuilder
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 egress_only_internet_gateway_id(self, input: impl Into<String>) -> Self
pub fn egress_only_internet_gateway_id(self, input: impl Into<String>) -> Self
The ID of the egress-only internet gateway.
sourcepub fn set_egress_only_internet_gateway_id(self, input: Option<String>) -> Self
pub fn set_egress_only_internet_gateway_id(self, input: Option<String>) -> Self
The ID of the egress-only internet gateway.
sourcepub fn get_egress_only_internet_gateway_id(&self) -> &Option<String>
pub fn get_egress_only_internet_gateway_id(&self) -> &Option<String>
The ID of the egress-only internet gateway.
sourcepub fn build(self) -> Result<DeleteEgressOnlyInternetGatewayInput, BuildError>
pub fn build(self) -> Result<DeleteEgressOnlyInternetGatewayInput, BuildError>
Consumes the builder and constructs a DeleteEgressOnlyInternetGatewayInput.
source§impl DeleteEgressOnlyInternetGatewayInputBuilder
impl DeleteEgressOnlyInternetGatewayInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DeleteEgressOnlyInternetGatewayOutput, SdkError<DeleteEgressOnlyInternetGatewayError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DeleteEgressOnlyInternetGatewayOutput, SdkError<DeleteEgressOnlyInternetGatewayError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DeleteEgressOnlyInternetGatewayInputBuilder
impl Clone for DeleteEgressOnlyInternetGatewayInputBuilder
source§fn clone(&self) -> DeleteEgressOnlyInternetGatewayInputBuilder
fn clone(&self) -> DeleteEgressOnlyInternetGatewayInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for DeleteEgressOnlyInternetGatewayInputBuilder
impl Default for DeleteEgressOnlyInternetGatewayInputBuilder
source§fn default() -> DeleteEgressOnlyInternetGatewayInputBuilder
fn default() -> DeleteEgressOnlyInternetGatewayInputBuilder
source§impl PartialEq<DeleteEgressOnlyInternetGatewayInputBuilder> for DeleteEgressOnlyInternetGatewayInputBuilder
impl PartialEq<DeleteEgressOnlyInternetGatewayInputBuilder> for DeleteEgressOnlyInternetGatewayInputBuilder
source§fn eq(&self, other: &DeleteEgressOnlyInternetGatewayInputBuilder) -> bool
fn eq(&self, other: &DeleteEgressOnlyInternetGatewayInputBuilder) -> bool
self and other values to be equal, and is used
by ==.