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 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 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 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 build(self) -> Result<AssociateRouteTableInput, BuildError>
pub fn build(self) -> Result<AssociateRouteTableInput, BuildError>
Consumes the builder and constructs a AssociateRouteTableInput
.
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 ==
.