pub struct Builder { /* private fields */ }Expand description
A builder for DirectConnectGatewayAssociationProposal.
Implementations§
source§impl Builder
impl Builder
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 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 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 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 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 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 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 build(self) -> DirectConnectGatewayAssociationProposal
pub fn build(self) -> DirectConnectGatewayAssociationProposal
Consumes the builder and constructs a DirectConnectGatewayAssociationProposal.