Struct aws_sdk_ec2::operation::associate_route_table::builders::AssociateRouteTableInputBuilder
source · #[non_exhaustive]pub struct AssociateRouteTableInputBuilder { /* private fields */ }
Expand description
A builder for AssociateRouteTableInput
.
Implementations§
source§impl AssociateRouteTableInputBuilder
impl AssociateRouteTableInputBuilder
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 route_table_id(self, input: impl Into<String>) -> Self
pub fn route_table_id(self, input: impl Into<String>) -> Self
The ID of the route table.
sourcepub fn set_route_table_id(self, input: Option<String>) -> Self
pub fn set_route_table_id(self, input: Option<String>) -> Self
The ID of the route table.
sourcepub fn get_route_table_id(&self) -> &Option<String>
pub fn get_route_table_id(&self) -> &Option<String>
The ID of the route table.
sourcepub fn set_subnet_id(self, input: Option<String>) -> Self
pub fn set_subnet_id(self, input: Option<String>) -> Self
The ID of the subnet.
sourcepub fn get_subnet_id(&self) -> &Option<String>
pub fn get_subnet_id(&self) -> &Option<String>
The ID of the subnet.
sourcepub fn gateway_id(self, input: impl Into<String>) -> Self
pub fn gateway_id(self, input: impl Into<String>) -> Self
The ID of the internet gateway or virtual private gateway.
sourcepub fn set_gateway_id(self, input: Option<String>) -> Self
pub fn set_gateway_id(self, input: Option<String>) -> Self
The ID of the internet gateway or virtual private gateway.
sourcepub fn get_gateway_id(&self) -> &Option<String>
pub fn get_gateway_id(&self) -> &Option<String>
The ID of the internet gateway or virtual private gateway.
sourcepub fn build(self) -> Result<AssociateRouteTableInput, BuildError>
pub fn build(self) -> Result<AssociateRouteTableInput, BuildError>
Consumes the builder and constructs a AssociateRouteTableInput
.
source§impl AssociateRouteTableInputBuilder
impl AssociateRouteTableInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<AssociateRouteTableOutput, SdkError<AssociateRouteTableError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<AssociateRouteTableOutput, SdkError<AssociateRouteTableError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for AssociateRouteTableInputBuilder
impl Clone for AssociateRouteTableInputBuilder
source§fn clone(&self) -> AssociateRouteTableInputBuilder
fn clone(&self) -> AssociateRouteTableInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AssociateRouteTableInputBuilder
impl Default for AssociateRouteTableInputBuilder
source§fn default() -> AssociateRouteTableInputBuilder
fn default() -> AssociateRouteTableInputBuilder
source§impl PartialEq<AssociateRouteTableInputBuilder> for AssociateRouteTableInputBuilder
impl PartialEq<AssociateRouteTableInputBuilder> for AssociateRouteTableInputBuilder
source§fn eq(&self, other: &AssociateRouteTableInputBuilder) -> bool
fn eq(&self, other: &AssociateRouteTableInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.