Struct aws_sdk_directconnect::types::builders::DirectConnectGatewayAssociationProposalBuilder
source · #[non_exhaustive]pub struct DirectConnectGatewayAssociationProposalBuilder { /* private fields */ }Expand description
A builder for DirectConnectGatewayAssociationProposal.
Implementations§
source§impl DirectConnectGatewayAssociationProposalBuilder
impl DirectConnectGatewayAssociationProposalBuilder
sourcepub fn proposal_id(self, input: impl Into<String>) -> Self
pub fn proposal_id(self, input: impl Into<String>) -> Self
The ID of the association proposal.
sourcepub fn set_proposal_id(self, input: Option<String>) -> Self
pub fn set_proposal_id(self, input: Option<String>) -> Self
The ID of the association proposal.
sourcepub fn get_proposal_id(&self) -> &Option<String>
pub fn get_proposal_id(&self) -> &Option<String>
The ID of the association proposal.
sourcepub fn direct_connect_gateway_id(self, input: impl Into<String>) -> Self
pub fn direct_connect_gateway_id(self, input: impl Into<String>) -> Self
The ID of the Direct Connect gateway.
sourcepub fn set_direct_connect_gateway_id(self, input: Option<String>) -> Self
pub fn set_direct_connect_gateway_id(self, input: Option<String>) -> Self
The ID of the Direct Connect gateway.
sourcepub fn get_direct_connect_gateway_id(&self) -> &Option<String>
pub fn get_direct_connect_gateway_id(&self) -> &Option<String>
The ID of the Direct Connect gateway.
sourcepub fn direct_connect_gateway_owner_account(
self,
input: impl Into<String>,
) -> Self
pub fn direct_connect_gateway_owner_account( self, input: impl Into<String>, ) -> Self
The ID of the Amazon Web Services account that owns the Direct Connect gateway.
sourcepub fn set_direct_connect_gateway_owner_account(
self,
input: Option<String>,
) -> Self
pub fn set_direct_connect_gateway_owner_account( self, input: Option<String>, ) -> Self
The ID of the Amazon Web Services account that owns the Direct Connect gateway.
sourcepub fn get_direct_connect_gateway_owner_account(&self) -> &Option<String>
pub fn get_direct_connect_gateway_owner_account(&self) -> &Option<String>
The ID of the Amazon Web Services account that owns the Direct Connect gateway.
sourcepub fn proposal_state(
self,
input: DirectConnectGatewayAssociationProposalState,
) -> Self
pub fn proposal_state( self, input: DirectConnectGatewayAssociationProposalState, ) -> Self
The state of the proposal. The following are possible values:
-
accepted: The proposal has been accepted. The Direct Connect gateway association is available to use in this state. -
deleted: The proposal has been deleted by the owner that made the proposal. The Direct Connect gateway association cannot be used in this state. -
requested: The proposal has been requested. The Direct Connect gateway association cannot be used in this state.
sourcepub fn set_proposal_state(
self,
input: Option<DirectConnectGatewayAssociationProposalState>,
) -> Self
pub fn set_proposal_state( self, input: Option<DirectConnectGatewayAssociationProposalState>, ) -> Self
The state of the proposal. The following are possible values:
-
accepted: The proposal has been accepted. The Direct Connect gateway association is available to use in this state. -
deleted: The proposal has been deleted by the owner that made the proposal. The Direct Connect gateway association cannot be used in this state. -
requested: The proposal has been requested. The Direct Connect gateway association cannot be used in this state.
sourcepub fn get_proposal_state(
&self,
) -> &Option<DirectConnectGatewayAssociationProposalState>
pub fn get_proposal_state( &self, ) -> &Option<DirectConnectGatewayAssociationProposalState>
The state of the proposal. The following are possible values:
-
accepted: The proposal has been accepted. The Direct Connect gateway association is available to use in this state. -
deleted: The proposal has been deleted by the owner that made the proposal. The Direct Connect gateway association cannot be used in this state. -
requested: The proposal has been requested. The Direct Connect gateway association cannot be used in this state.
sourcepub fn associated_gateway(self, input: AssociatedGateway) -> Self
pub fn associated_gateway(self, input: AssociatedGateway) -> Self
Information about the associated gateway.
sourcepub fn set_associated_gateway(self, input: Option<AssociatedGateway>) -> Self
pub fn set_associated_gateway(self, input: Option<AssociatedGateway>) -> Self
Information about the associated gateway.
sourcepub fn get_associated_gateway(&self) -> &Option<AssociatedGateway>
pub fn get_associated_gateway(&self) -> &Option<AssociatedGateway>
Information about the associated gateway.
sourcepub fn existing_allowed_prefixes_to_direct_connect_gateway(
self,
input: RouteFilterPrefix,
) -> Self
pub fn existing_allowed_prefixes_to_direct_connect_gateway( self, input: RouteFilterPrefix, ) -> Self
Appends an item to existing_allowed_prefixes_to_direct_connect_gateway.
To override the contents of this collection use set_existing_allowed_prefixes_to_direct_connect_gateway.
The existing Amazon VPC prefixes advertised to the Direct Connect gateway.
sourcepub fn set_existing_allowed_prefixes_to_direct_connect_gateway(
self,
input: Option<Vec<RouteFilterPrefix>>,
) -> Self
pub fn set_existing_allowed_prefixes_to_direct_connect_gateway( self, input: Option<Vec<RouteFilterPrefix>>, ) -> Self
The existing Amazon VPC prefixes advertised to the Direct Connect gateway.
sourcepub fn get_existing_allowed_prefixes_to_direct_connect_gateway(
&self,
) -> &Option<Vec<RouteFilterPrefix>>
pub fn get_existing_allowed_prefixes_to_direct_connect_gateway( &self, ) -> &Option<Vec<RouteFilterPrefix>>
The existing Amazon VPC prefixes advertised to the Direct Connect gateway.
sourcepub fn requested_allowed_prefixes_to_direct_connect_gateway(
self,
input: RouteFilterPrefix,
) -> Self
pub fn requested_allowed_prefixes_to_direct_connect_gateway( self, input: RouteFilterPrefix, ) -> Self
Appends an item to requested_allowed_prefixes_to_direct_connect_gateway.
To override the contents of this collection use set_requested_allowed_prefixes_to_direct_connect_gateway.
The Amazon VPC prefixes to advertise to the Direct Connect gateway.
sourcepub fn set_requested_allowed_prefixes_to_direct_connect_gateway(
self,
input: Option<Vec<RouteFilterPrefix>>,
) -> Self
pub fn set_requested_allowed_prefixes_to_direct_connect_gateway( self, input: Option<Vec<RouteFilterPrefix>>, ) -> Self
The Amazon VPC prefixes to advertise to the Direct Connect gateway.
sourcepub fn get_requested_allowed_prefixes_to_direct_connect_gateway(
&self,
) -> &Option<Vec<RouteFilterPrefix>>
pub fn get_requested_allowed_prefixes_to_direct_connect_gateway( &self, ) -> &Option<Vec<RouteFilterPrefix>>
The Amazon VPC prefixes to advertise to the Direct Connect gateway.
sourcepub fn build(self) -> DirectConnectGatewayAssociationProposal
pub fn build(self) -> DirectConnectGatewayAssociationProposal
Consumes the builder and constructs a DirectConnectGatewayAssociationProposal.
Trait Implementations§
source§impl Clone for DirectConnectGatewayAssociationProposalBuilder
impl Clone for DirectConnectGatewayAssociationProposalBuilder
source§fn clone(&self) -> DirectConnectGatewayAssociationProposalBuilder
fn clone(&self) -> DirectConnectGatewayAssociationProposalBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for DirectConnectGatewayAssociationProposalBuilder
impl Default for DirectConnectGatewayAssociationProposalBuilder
source§fn default() -> DirectConnectGatewayAssociationProposalBuilder
fn default() -> DirectConnectGatewayAssociationProposalBuilder
source§impl PartialEq for DirectConnectGatewayAssociationProposalBuilder
impl PartialEq for DirectConnectGatewayAssociationProposalBuilder
source§fn eq(&self, other: &DirectConnectGatewayAssociationProposalBuilder) -> bool
fn eq(&self, other: &DirectConnectGatewayAssociationProposalBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DirectConnectGatewayAssociationProposalBuilder
Auto Trait Implementations§
impl Freeze for DirectConnectGatewayAssociationProposalBuilder
impl RefUnwindSafe for DirectConnectGatewayAssociationProposalBuilder
impl Send for DirectConnectGatewayAssociationProposalBuilder
impl Sync for DirectConnectGatewayAssociationProposalBuilder
impl Unpin for DirectConnectGatewayAssociationProposalBuilder
impl UnwindSafe for DirectConnectGatewayAssociationProposalBuilder
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default 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