Struct aws_sdk_ec2::operation::export_transit_gateway_routes::builders::ExportTransitGatewayRoutesInputBuilder
source · #[non_exhaustive]pub struct ExportTransitGatewayRoutesInputBuilder { /* private fields */ }
Expand description
A builder for ExportTransitGatewayRoutesInput
.
Implementations§
source§impl ExportTransitGatewayRoutesInputBuilder
impl ExportTransitGatewayRoutesInputBuilder
sourcepub fn transit_gateway_route_table_id(self, input: impl Into<String>) -> Self
pub fn transit_gateway_route_table_id(self, input: impl Into<String>) -> Self
The ID of the route table.
This field is required.sourcepub fn set_transit_gateway_route_table_id(self, input: Option<String>) -> Self
pub fn set_transit_gateway_route_table_id(self, input: Option<String>) -> Self
The ID of the route table.
sourcepub fn get_transit_gateway_route_table_id(&self) -> &Option<String>
pub fn get_transit_gateway_route_table_id(&self) -> &Option<String>
The ID of the route table.
sourcepub fn filters(self, input: Filter) -> Self
pub fn filters(self, input: Filter) -> Self
Appends an item to filters
.
To override the contents of this collection use set_filters
.
One or more filters. The possible values are:
-
attachment.transit-gateway-attachment-id
- The id of the transit gateway attachment. -
attachment.resource-id
- The resource id of the transit gateway attachment. -
route-search.exact-match
- The exact match of the specified filter. -
route-search.longest-prefix-match
- The longest prefix that matches the route. -
route-search.subnet-of-match
- The routes with a subnet that match the specified CIDR filter. -
route-search.supernet-of-match
- The routes with a CIDR that encompass the CIDR filter. For example, if you have 10.0.1.0/29 and 10.0.1.0/31 routes in your route table and you specify supernet-of-match as 10.0.1.0/30, then the result returns 10.0.1.0/29. -
state
- The state of the route (active
|blackhole
). -
transit-gateway-route-destination-cidr-block
- The CIDR range. -
type
- The type of route (propagated
|static
).
sourcepub fn set_filters(self, input: Option<Vec<Filter>>) -> Self
pub fn set_filters(self, input: Option<Vec<Filter>>) -> Self
One or more filters. The possible values are:
-
attachment.transit-gateway-attachment-id
- The id of the transit gateway attachment. -
attachment.resource-id
- The resource id of the transit gateway attachment. -
route-search.exact-match
- The exact match of the specified filter. -
route-search.longest-prefix-match
- The longest prefix that matches the route. -
route-search.subnet-of-match
- The routes with a subnet that match the specified CIDR filter. -
route-search.supernet-of-match
- The routes with a CIDR that encompass the CIDR filter. For example, if you have 10.0.1.0/29 and 10.0.1.0/31 routes in your route table and you specify supernet-of-match as 10.0.1.0/30, then the result returns 10.0.1.0/29. -
state
- The state of the route (active
|blackhole
). -
transit-gateway-route-destination-cidr-block
- The CIDR range. -
type
- The type of route (propagated
|static
).
sourcepub fn get_filters(&self) -> &Option<Vec<Filter>>
pub fn get_filters(&self) -> &Option<Vec<Filter>>
One or more filters. The possible values are:
-
attachment.transit-gateway-attachment-id
- The id of the transit gateway attachment. -
attachment.resource-id
- The resource id of the transit gateway attachment. -
route-search.exact-match
- The exact match of the specified filter. -
route-search.longest-prefix-match
- The longest prefix that matches the route. -
route-search.subnet-of-match
- The routes with a subnet that match the specified CIDR filter. -
route-search.supernet-of-match
- The routes with a CIDR that encompass the CIDR filter. For example, if you have 10.0.1.0/29 and 10.0.1.0/31 routes in your route table and you specify supernet-of-match as 10.0.1.0/30, then the result returns 10.0.1.0/29. -
state
- The state of the route (active
|blackhole
). -
transit-gateway-route-destination-cidr-block
- The CIDR range. -
type
- The type of route (propagated
|static
).
sourcepub fn s3_bucket(self, input: impl Into<String>) -> Self
pub fn s3_bucket(self, input: impl Into<String>) -> Self
The name of the S3 bucket.
This field is required.sourcepub fn set_s3_bucket(self, input: Option<String>) -> Self
pub fn set_s3_bucket(self, input: Option<String>) -> Self
The name of the S3 bucket.
sourcepub fn get_s3_bucket(&self) -> &Option<String>
pub fn get_s3_bucket(&self) -> &Option<String>
The name of the S3 bucket.
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<ExportTransitGatewayRoutesInput, BuildError>
pub fn build(self) -> Result<ExportTransitGatewayRoutesInput, BuildError>
Consumes the builder and constructs a ExportTransitGatewayRoutesInput
.
source§impl ExportTransitGatewayRoutesInputBuilder
impl ExportTransitGatewayRoutesInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ExportTransitGatewayRoutesOutput, SdkError<ExportTransitGatewayRoutesError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ExportTransitGatewayRoutesOutput, SdkError<ExportTransitGatewayRoutesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ExportTransitGatewayRoutesInputBuilder
impl Clone for ExportTransitGatewayRoutesInputBuilder
source§fn clone(&self) -> ExportTransitGatewayRoutesInputBuilder
fn clone(&self) -> ExportTransitGatewayRoutesInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ExportTransitGatewayRoutesInputBuilder
impl Default for ExportTransitGatewayRoutesInputBuilder
source§fn default() -> ExportTransitGatewayRoutesInputBuilder
fn default() -> ExportTransitGatewayRoutesInputBuilder
source§impl PartialEq for ExportTransitGatewayRoutesInputBuilder
impl PartialEq for ExportTransitGatewayRoutesInputBuilder
source§fn eq(&self, other: &ExportTransitGatewayRoutesInputBuilder) -> bool
fn eq(&self, other: &ExportTransitGatewayRoutesInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.