Struct aws_sdk_ec2::types::builders::PeeringTgwInfoBuilder
source · #[non_exhaustive]pub struct PeeringTgwInfoBuilder { /* private fields */ }Expand description
A builder for PeeringTgwInfo.
Implementations§
source§impl PeeringTgwInfoBuilder
impl PeeringTgwInfoBuilder
sourcepub fn transit_gateway_id(self, input: impl Into<String>) -> Self
pub fn transit_gateway_id(self, input: impl Into<String>) -> Self
The ID of the transit gateway.
sourcepub fn set_transit_gateway_id(self, input: Option<String>) -> Self
pub fn set_transit_gateway_id(self, input: Option<String>) -> Self
The ID of the transit gateway.
sourcepub fn get_transit_gateway_id(&self) -> &Option<String>
pub fn get_transit_gateway_id(&self) -> &Option<String>
The ID of the transit gateway.
sourcepub fn core_network_id(self, input: impl Into<String>) -> Self
pub fn core_network_id(self, input: impl Into<String>) -> Self
The ID of the core network where the transit gateway peer is located.
sourcepub fn set_core_network_id(self, input: Option<String>) -> Self
pub fn set_core_network_id(self, input: Option<String>) -> Self
The ID of the core network where the transit gateway peer is located.
sourcepub fn get_core_network_id(&self) -> &Option<String>
pub fn get_core_network_id(&self) -> &Option<String>
The ID of the core network where the transit gateway peer is located.
sourcepub fn owner_id(self, input: impl Into<String>) -> Self
pub fn owner_id(self, input: impl Into<String>) -> Self
The ID of the Amazon Web Services account that owns the transit gateway.
sourcepub fn set_owner_id(self, input: Option<String>) -> Self
pub fn set_owner_id(self, input: Option<String>) -> Self
The ID of the Amazon Web Services account that owns the transit gateway.
sourcepub fn get_owner_id(&self) -> &Option<String>
pub fn get_owner_id(&self) -> &Option<String>
The ID of the Amazon Web Services account that owns the transit gateway.
sourcepub fn set_region(self, input: Option<String>) -> Self
pub fn set_region(self, input: Option<String>) -> Self
The Region of the transit gateway.
sourcepub fn get_region(&self) -> &Option<String>
pub fn get_region(&self) -> &Option<String>
The Region of the transit gateway.
sourcepub fn build(self) -> PeeringTgwInfo
pub fn build(self) -> PeeringTgwInfo
Consumes the builder and constructs a PeeringTgwInfo.
Trait Implementations§
source§impl Clone for PeeringTgwInfoBuilder
impl Clone for PeeringTgwInfoBuilder
source§fn clone(&self) -> PeeringTgwInfoBuilder
fn clone(&self) -> PeeringTgwInfoBuilder
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 Debug for PeeringTgwInfoBuilder
impl Debug for PeeringTgwInfoBuilder
source§impl Default for PeeringTgwInfoBuilder
impl Default for PeeringTgwInfoBuilder
source§fn default() -> PeeringTgwInfoBuilder
fn default() -> PeeringTgwInfoBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for PeeringTgwInfoBuilder
impl PartialEq for PeeringTgwInfoBuilder
source§fn eq(&self, other: &PeeringTgwInfoBuilder) -> bool
fn eq(&self, other: &PeeringTgwInfoBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for PeeringTgwInfoBuilder
Auto Trait Implementations§
impl RefUnwindSafe for PeeringTgwInfoBuilder
impl Send for PeeringTgwInfoBuilder
impl Sync for PeeringTgwInfoBuilder
impl Unpin for PeeringTgwInfoBuilder
impl UnwindSafe for PeeringTgwInfoBuilder
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.