Struct aws_sdk_networkmanager::operation::create_transit_gateway_peering::CreateTransitGatewayPeeringInput
source · #[non_exhaustive]pub struct CreateTransitGatewayPeeringInput {
pub core_network_id: Option<String>,
pub transit_gateway_arn: Option<String>,
pub tags: Option<Vec<Tag>>,
pub client_token: Option<String>,
}
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.core_network_id: Option<String>
The ID of a core network.
transit_gateway_arn: Option<String>
The ARN of the transit gateway for the peering request.
The list of key-value tags associated with the request.
client_token: Option<String>
The client token associated with the request.
Implementations§
source§impl CreateTransitGatewayPeeringInput
impl CreateTransitGatewayPeeringInput
sourcepub fn core_network_id(&self) -> Option<&str>
pub fn core_network_id(&self) -> Option<&str>
The ID of a core network.
sourcepub fn transit_gateway_arn(&self) -> Option<&str>
pub fn transit_gateway_arn(&self) -> Option<&str>
The ARN of the transit gateway for the peering request.
The list of key-value tags associated with the request.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
The client token associated with the request.
source§impl CreateTransitGatewayPeeringInput
impl CreateTransitGatewayPeeringInput
sourcepub fn builder() -> CreateTransitGatewayPeeringInputBuilder
pub fn builder() -> CreateTransitGatewayPeeringInputBuilder
Creates a new builder-style object to manufacture CreateTransitGatewayPeeringInput
.
Trait Implementations§
source§impl Clone for CreateTransitGatewayPeeringInput
impl Clone for CreateTransitGatewayPeeringInput
source§fn clone(&self) -> CreateTransitGatewayPeeringInput
fn clone(&self) -> CreateTransitGatewayPeeringInput
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 for CreateTransitGatewayPeeringInput
impl PartialEq for CreateTransitGatewayPeeringInput
source§fn eq(&self, other: &CreateTransitGatewayPeeringInput) -> bool
fn eq(&self, other: &CreateTransitGatewayPeeringInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateTransitGatewayPeeringInput
Auto Trait Implementations§
impl RefUnwindSafe for CreateTransitGatewayPeeringInput
impl Send for CreateTransitGatewayPeeringInput
impl Sync for CreateTransitGatewayPeeringInput
impl Unpin for CreateTransitGatewayPeeringInput
impl UnwindSafe for CreateTransitGatewayPeeringInput
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
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>
Creates a shared type from an unshared type.