Struct aws_sdk_networkmanager::types::builders::CoreNetworkBuilder
source · #[non_exhaustive]pub struct CoreNetworkBuilder { /* private fields */ }
Expand description
A builder for CoreNetwork
.
Implementations§
source§impl CoreNetworkBuilder
impl CoreNetworkBuilder
sourcepub fn global_network_id(self, input: impl Into<String>) -> Self
pub fn global_network_id(self, input: impl Into<String>) -> Self
The ID of the global network that your core network is a part of.
sourcepub fn set_global_network_id(self, input: Option<String>) -> Self
pub fn set_global_network_id(self, input: Option<String>) -> Self
The ID of the global network that your core network is a part of.
sourcepub fn get_global_network_id(&self) -> &Option<String>
pub fn get_global_network_id(&self) -> &Option<String>
The ID of the global network that your core network is a part of.
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 a core network.
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 a core network.
sourcepub fn get_core_network_id(&self) -> &Option<String>
pub fn get_core_network_id(&self) -> &Option<String>
The ID of a core network.
sourcepub fn core_network_arn(self, input: impl Into<String>) -> Self
pub fn core_network_arn(self, input: impl Into<String>) -> Self
The ARN of a core network.
sourcepub fn set_core_network_arn(self, input: Option<String>) -> Self
pub fn set_core_network_arn(self, input: Option<String>) -> Self
The ARN of a core network.
sourcepub fn get_core_network_arn(&self) -> &Option<String>
pub fn get_core_network_arn(&self) -> &Option<String>
The ARN of a core network.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of a core network.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of a core network.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of a core network.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The timestamp when a core network was created.
sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
The timestamp when a core network was created.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
The timestamp when a core network was created.
sourcepub fn state(self, input: CoreNetworkState) -> Self
pub fn state(self, input: CoreNetworkState) -> Self
The current state of a core network.
sourcepub fn set_state(self, input: Option<CoreNetworkState>) -> Self
pub fn set_state(self, input: Option<CoreNetworkState>) -> Self
The current state of a core network.
sourcepub fn get_state(&self) -> &Option<CoreNetworkState>
pub fn get_state(&self) -> &Option<CoreNetworkState>
The current state of a core network.
sourcepub fn segments(self, input: CoreNetworkSegment) -> Self
pub fn segments(self, input: CoreNetworkSegment) -> Self
Appends an item to segments
.
To override the contents of this collection use set_segments
.
The segments within a core network.
sourcepub fn set_segments(self, input: Option<Vec<CoreNetworkSegment>>) -> Self
pub fn set_segments(self, input: Option<Vec<CoreNetworkSegment>>) -> Self
The segments within a core network.
sourcepub fn get_segments(&self) -> &Option<Vec<CoreNetworkSegment>>
pub fn get_segments(&self) -> &Option<Vec<CoreNetworkSegment>>
The segments within a core network.
sourcepub fn edges(self, input: CoreNetworkEdge) -> Self
pub fn edges(self, input: CoreNetworkEdge) -> Self
Appends an item to edges
.
To override the contents of this collection use set_edges
.
The edges within a core network.
sourcepub fn set_edges(self, input: Option<Vec<CoreNetworkEdge>>) -> Self
pub fn set_edges(self, input: Option<Vec<CoreNetworkEdge>>) -> Self
The edges within a core network.
sourcepub fn get_edges(&self) -> &Option<Vec<CoreNetworkEdge>>
pub fn get_edges(&self) -> &Option<Vec<CoreNetworkEdge>>
The edges within a core network.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
The list of key-value tags associated with a core network.
The list of key-value tags associated with a core network.
The list of key-value tags associated with a core network.
sourcepub fn build(self) -> CoreNetwork
pub fn build(self) -> CoreNetwork
Consumes the builder and constructs a CoreNetwork
.
Trait Implementations§
source§impl Clone for CoreNetworkBuilder
impl Clone for CoreNetworkBuilder
source§fn clone(&self) -> CoreNetworkBuilder
fn clone(&self) -> CoreNetworkBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CoreNetworkBuilder
impl Debug for CoreNetworkBuilder
source§impl Default for CoreNetworkBuilder
impl Default for CoreNetworkBuilder
source§fn default() -> CoreNetworkBuilder
fn default() -> CoreNetworkBuilder
source§impl PartialEq for CoreNetworkBuilder
impl PartialEq for CoreNetworkBuilder
source§fn eq(&self, other: &CoreNetworkBuilder) -> bool
fn eq(&self, other: &CoreNetworkBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.