Struct aws_sdk_directconnect::operation::create_direct_connect_gateway_association_proposal::CreateDirectConnectGatewayAssociationProposalInput
source · #[non_exhaustive]pub struct CreateDirectConnectGatewayAssociationProposalInput {
pub direct_connect_gateway_id: Option<String>,
pub direct_connect_gateway_owner_account: Option<String>,
pub gateway_id: Option<String>,
pub add_allowed_prefixes_to_direct_connect_gateway: Option<Vec<RouteFilterPrefix>>,
pub remove_allowed_prefixes_to_direct_connect_gateway: Option<Vec<RouteFilterPrefix>>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.direct_connect_gateway_id: Option<String>The ID of the Direct Connect gateway.
direct_connect_gateway_owner_account: Option<String>The ID of the Amazon Web Services account that owns the Direct Connect gateway.
gateway_id: Option<String>The ID of the virtual private gateway or transit gateway.
add_allowed_prefixes_to_direct_connect_gateway: Option<Vec<RouteFilterPrefix>>The Amazon VPC prefixes to advertise to the Direct Connect gateway.
remove_allowed_prefixes_to_direct_connect_gateway: Option<Vec<RouteFilterPrefix>>The Amazon VPC prefixes to no longer advertise to the Direct Connect gateway.
Implementations§
source§impl CreateDirectConnectGatewayAssociationProposalInput
impl CreateDirectConnectGatewayAssociationProposalInput
sourcepub fn direct_connect_gateway_id(&self) -> Option<&str>
pub fn direct_connect_gateway_id(&self) -> Option<&str>
The ID of the Direct Connect gateway.
sourcepub fn direct_connect_gateway_owner_account(&self) -> Option<&str>
pub fn direct_connect_gateway_owner_account(&self) -> Option<&str>
The ID of the Amazon Web Services account that owns the Direct Connect gateway.
sourcepub fn gateway_id(&self) -> Option<&str>
pub fn gateway_id(&self) -> Option<&str>
The ID of the virtual private gateway or transit gateway.
sourcepub fn add_allowed_prefixes_to_direct_connect_gateway(
&self,
) -> &[RouteFilterPrefix]
pub fn add_allowed_prefixes_to_direct_connect_gateway( &self, ) -> &[RouteFilterPrefix]
The Amazon VPC prefixes to advertise to the Direct Connect gateway.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .add_allowed_prefixes_to_direct_connect_gateway.is_none().
sourcepub fn remove_allowed_prefixes_to_direct_connect_gateway(
&self,
) -> &[RouteFilterPrefix]
pub fn remove_allowed_prefixes_to_direct_connect_gateway( &self, ) -> &[RouteFilterPrefix]
The Amazon VPC prefixes to no longer advertise to the Direct Connect gateway.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .remove_allowed_prefixes_to_direct_connect_gateway.is_none().
source§impl CreateDirectConnectGatewayAssociationProposalInput
impl CreateDirectConnectGatewayAssociationProposalInput
sourcepub fn builder() -> CreateDirectConnectGatewayAssociationProposalInputBuilder
pub fn builder() -> CreateDirectConnectGatewayAssociationProposalInputBuilder
Creates a new builder-style object to manufacture CreateDirectConnectGatewayAssociationProposalInput.
Trait Implementations§
source§impl Clone for CreateDirectConnectGatewayAssociationProposalInput
impl Clone for CreateDirectConnectGatewayAssociationProposalInput
source§fn clone(&self) -> CreateDirectConnectGatewayAssociationProposalInput
fn clone(&self) -> CreateDirectConnectGatewayAssociationProposalInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for CreateDirectConnectGatewayAssociationProposalInput
impl PartialEq for CreateDirectConnectGatewayAssociationProposalInput
source§fn eq(&self, other: &CreateDirectConnectGatewayAssociationProposalInput) -> bool
fn eq(&self, other: &CreateDirectConnectGatewayAssociationProposalInput) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CreateDirectConnectGatewayAssociationProposalInput
Auto Trait Implementations§
impl Freeze for CreateDirectConnectGatewayAssociationProposalInput
impl RefUnwindSafe for CreateDirectConnectGatewayAssociationProposalInput
impl Send for CreateDirectConnectGatewayAssociationProposalInput
impl Sync for CreateDirectConnectGatewayAssociationProposalInput
impl Unpin for CreateDirectConnectGatewayAssociationProposalInput
impl UnwindSafe for CreateDirectConnectGatewayAssociationProposalInput
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more