#[non_exhaustive]pub struct NetworkRouteDestinationBuilder { /* private fields */ }
Expand description
A builder for NetworkRouteDestination
.
Implementations§
source§impl NetworkRouteDestinationBuilder
impl NetworkRouteDestinationBuilder
sourcepub fn core_network_attachment_id(self, input: impl Into<String>) -> Self
pub fn core_network_attachment_id(self, input: impl Into<String>) -> Self
The ID of a core network attachment.
sourcepub fn set_core_network_attachment_id(self, input: Option<String>) -> Self
pub fn set_core_network_attachment_id(self, input: Option<String>) -> Self
The ID of a core network attachment.
sourcepub fn get_core_network_attachment_id(&self) -> &Option<String>
pub fn get_core_network_attachment_id(&self) -> &Option<String>
The ID of a core network attachment.
sourcepub fn transit_gateway_attachment_id(self, input: impl Into<String>) -> Self
pub fn transit_gateway_attachment_id(self, input: impl Into<String>) -> Self
The ID of the transit gateway attachment.
sourcepub fn set_transit_gateway_attachment_id(self, input: Option<String>) -> Self
pub fn set_transit_gateway_attachment_id(self, input: Option<String>) -> Self
The ID of the transit gateway attachment.
sourcepub fn get_transit_gateway_attachment_id(&self) -> &Option<String>
pub fn get_transit_gateway_attachment_id(&self) -> &Option<String>
The ID of the transit gateway attachment.
sourcepub fn segment_name(self, input: impl Into<String>) -> Self
pub fn segment_name(self, input: impl Into<String>) -> Self
The name of the segment.
sourcepub fn set_segment_name(self, input: Option<String>) -> Self
pub fn set_segment_name(self, input: Option<String>) -> Self
The name of the segment.
sourcepub fn get_segment_name(&self) -> &Option<String>
pub fn get_segment_name(&self) -> &Option<String>
The name of the segment.
sourcepub fn edge_location(self, input: impl Into<String>) -> Self
pub fn edge_location(self, input: impl Into<String>) -> Self
The edge location for the network destination.
sourcepub fn set_edge_location(self, input: Option<String>) -> Self
pub fn set_edge_location(self, input: Option<String>) -> Self
The edge location for the network destination.
sourcepub fn get_edge_location(&self) -> &Option<String>
pub fn get_edge_location(&self) -> &Option<String>
The edge location for the network destination.
sourcepub fn resource_type(self, input: impl Into<String>) -> Self
pub fn resource_type(self, input: impl Into<String>) -> Self
The resource type.
sourcepub fn set_resource_type(self, input: Option<String>) -> Self
pub fn set_resource_type(self, input: Option<String>) -> Self
The resource type.
sourcepub fn get_resource_type(&self) -> &Option<String>
pub fn get_resource_type(&self) -> &Option<String>
The resource type.
sourcepub fn resource_id(self, input: impl Into<String>) -> Self
pub fn resource_id(self, input: impl Into<String>) -> Self
The ID of the resource.
sourcepub fn set_resource_id(self, input: Option<String>) -> Self
pub fn set_resource_id(self, input: Option<String>) -> Self
The ID of the resource.
sourcepub fn get_resource_id(&self) -> &Option<String>
pub fn get_resource_id(&self) -> &Option<String>
The ID of the resource.
sourcepub fn build(self) -> NetworkRouteDestination
pub fn build(self) -> NetworkRouteDestination
Consumes the builder and constructs a NetworkRouteDestination
.
Trait Implementations§
source§impl Clone for NetworkRouteDestinationBuilder
impl Clone for NetworkRouteDestinationBuilder
source§fn clone(&self) -> NetworkRouteDestinationBuilder
fn clone(&self) -> NetworkRouteDestinationBuilder
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 Default for NetworkRouteDestinationBuilder
impl Default for NetworkRouteDestinationBuilder
source§fn default() -> NetworkRouteDestinationBuilder
fn default() -> NetworkRouteDestinationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for NetworkRouteDestinationBuilder
impl PartialEq for NetworkRouteDestinationBuilder
source§fn eq(&self, other: &NetworkRouteDestinationBuilder) -> bool
fn eq(&self, other: &NetworkRouteDestinationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for NetworkRouteDestinationBuilder
Auto Trait Implementations§
impl Freeze for NetworkRouteDestinationBuilder
impl RefUnwindSafe for NetworkRouteDestinationBuilder
impl Send for NetworkRouteDestinationBuilder
impl Sync for NetworkRouteDestinationBuilder
impl Unpin for NetworkRouteDestinationBuilder
impl UnwindSafe for NetworkRouteDestinationBuilder
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.