Struct aws_sdk_ec2::operation::enable_vgw_route_propagation::builders::EnableVgwRoutePropagationInputBuilder
source · #[non_exhaustive]pub struct EnableVgwRoutePropagationInputBuilder { /* private fields */ }Expand description
A builder for EnableVgwRoutePropagationInput.
Implementations§
source§impl EnableVgwRoutePropagationInputBuilder
impl EnableVgwRoutePropagationInputBuilder
sourcepub fn gateway_id(self, input: impl Into<String>) -> Self
pub fn gateway_id(self, input: impl Into<String>) -> Self
The ID of the virtual private gateway that is attached to a VPC. The virtual private gateway must be attached to the same VPC that the routing tables are associated with.
sourcepub fn set_gateway_id(self, input: Option<String>) -> Self
pub fn set_gateway_id(self, input: Option<String>) -> Self
The ID of the virtual private gateway that is attached to a VPC. The virtual private gateway must be attached to the same VPC that the routing tables are associated with.
sourcepub fn get_gateway_id(&self) -> &Option<String>
pub fn get_gateway_id(&self) -> &Option<String>
The ID of the virtual private gateway that is attached to a VPC. The virtual private gateway must be attached to the same VPC that the routing tables are associated with.
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. The routing table must be associated with the same VPC that the virtual private gateway is attached to.
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. The routing table must be associated with the same VPC that the virtual private gateway is attached to.
sourcepub fn get_route_table_id(&self) -> &Option<String>
pub fn get_route_table_id(&self) -> &Option<String>
The ID of the route table. The routing table must be associated with the same VPC that the virtual private gateway is attached to.
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 build(self) -> Result<EnableVgwRoutePropagationInput, BuildError>
pub fn build(self) -> Result<EnableVgwRoutePropagationInput, BuildError>
Consumes the builder and constructs a EnableVgwRoutePropagationInput.
source§impl EnableVgwRoutePropagationInputBuilder
impl EnableVgwRoutePropagationInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<EnableVgwRoutePropagationOutput, SdkError<EnableVgwRoutePropagationError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<EnableVgwRoutePropagationOutput, SdkError<EnableVgwRoutePropagationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for EnableVgwRoutePropagationInputBuilder
impl Clone for EnableVgwRoutePropagationInputBuilder
source§fn clone(&self) -> EnableVgwRoutePropagationInputBuilder
fn clone(&self) -> EnableVgwRoutePropagationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for EnableVgwRoutePropagationInputBuilder
impl Default for EnableVgwRoutePropagationInputBuilder
source§fn default() -> EnableVgwRoutePropagationInputBuilder
fn default() -> EnableVgwRoutePropagationInputBuilder
source§impl PartialEq<EnableVgwRoutePropagationInputBuilder> for EnableVgwRoutePropagationInputBuilder
impl PartialEq<EnableVgwRoutePropagationInputBuilder> for EnableVgwRoutePropagationInputBuilder
source§fn eq(&self, other: &EnableVgwRoutePropagationInputBuilder) -> bool
fn eq(&self, other: &EnableVgwRoutePropagationInputBuilder) -> bool
self and other values to be equal, and is used
by ==.