Struct aws_sdk_ec2::operation::associate_transit_gateway_policy_table::AssociateTransitGatewayPolicyTableInput
source · #[non_exhaustive]pub struct AssociateTransitGatewayPolicyTableInput {
pub transit_gateway_policy_table_id: Option<String>,
pub transit_gateway_attachment_id: Option<String>,
pub dry_run: Option<bool>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.transit_gateway_policy_table_id: Option<String>
The ID of the transit gateway policy table to associate with the transit gateway attachment.
transit_gateway_attachment_id: Option<String>
The ID of the transit gateway attachment to associate with the policy table.
dry_run: 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
.
Implementations§
source§impl AssociateTransitGatewayPolicyTableInput
impl AssociateTransitGatewayPolicyTableInput
sourcepub fn transit_gateway_policy_table_id(&self) -> Option<&str>
pub fn transit_gateway_policy_table_id(&self) -> Option<&str>
The ID of the transit gateway policy table to associate with the transit gateway attachment.
sourcepub fn transit_gateway_attachment_id(&self) -> Option<&str>
pub fn transit_gateway_attachment_id(&self) -> Option<&str>
The ID of the transit gateway attachment to associate with the policy table.
source§impl AssociateTransitGatewayPolicyTableInput
impl AssociateTransitGatewayPolicyTableInput
sourcepub fn builder() -> AssociateTransitGatewayPolicyTableInputBuilder
pub fn builder() -> AssociateTransitGatewayPolicyTableInputBuilder
Creates a new builder-style object to manufacture AssociateTransitGatewayPolicyTableInput
.
Trait Implementations§
source§impl Clone for AssociateTransitGatewayPolicyTableInput
impl Clone for AssociateTransitGatewayPolicyTableInput
source§fn clone(&self) -> AssociateTransitGatewayPolicyTableInput
fn clone(&self) -> AssociateTransitGatewayPolicyTableInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl PartialEq<AssociateTransitGatewayPolicyTableInput> for AssociateTransitGatewayPolicyTableInput
impl PartialEq<AssociateTransitGatewayPolicyTableInput> for AssociateTransitGatewayPolicyTableInput
source§fn eq(&self, other: &AssociateTransitGatewayPolicyTableInput) -> bool
fn eq(&self, other: &AssociateTransitGatewayPolicyTableInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AssociateTransitGatewayPolicyTableInput
Auto Trait Implementations§
impl RefUnwindSafe for AssociateTransitGatewayPolicyTableInput
impl Send for AssociateTransitGatewayPolicyTableInput
impl Sync for AssociateTransitGatewayPolicyTableInput
impl Unpin for AssociateTransitGatewayPolicyTableInput
impl UnwindSafe for AssociateTransitGatewayPolicyTableInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more