Struct aws_sdk_directconnect::operation::update_direct_connect_gateway_association::UpdateDirectConnectGatewayAssociationInput
source · #[non_exhaustive]pub struct UpdateDirectConnectGatewayAssociationInput {
pub association_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.association_id: Option<String>The ID of the Direct Connect gateway association.
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 UpdateDirectConnectGatewayAssociationInput
impl UpdateDirectConnectGatewayAssociationInput
sourcepub fn association_id(&self) -> Option<&str>
pub fn association_id(&self) -> Option<&str>
The ID of the Direct Connect gateway association.
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 UpdateDirectConnectGatewayAssociationInput
impl UpdateDirectConnectGatewayAssociationInput
sourcepub fn builder() -> UpdateDirectConnectGatewayAssociationInputBuilder
pub fn builder() -> UpdateDirectConnectGatewayAssociationInputBuilder
Creates a new builder-style object to manufacture UpdateDirectConnectGatewayAssociationInput.
Trait Implementations§
source§impl Clone for UpdateDirectConnectGatewayAssociationInput
impl Clone for UpdateDirectConnectGatewayAssociationInput
source§fn clone(&self) -> UpdateDirectConnectGatewayAssociationInput
fn clone(&self) -> UpdateDirectConnectGatewayAssociationInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for UpdateDirectConnectGatewayAssociationInput
impl PartialEq for UpdateDirectConnectGatewayAssociationInput
source§fn eq(&self, other: &UpdateDirectConnectGatewayAssociationInput) -> bool
fn eq(&self, other: &UpdateDirectConnectGatewayAssociationInput) -> bool
self and other values to be equal, and is used
by ==.