#[non_exhaustive]pub struct ConnectPeerSummaryBuilder { /* private fields */ }
Expand description
A builder for ConnectPeerSummary
.
Implementations§
source§impl ConnectPeerSummaryBuilder
impl ConnectPeerSummaryBuilder
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 connect_attachment_id(self, input: impl Into<String>) -> Self
pub fn connect_attachment_id(self, input: impl Into<String>) -> Self
The ID of a Connect peer attachment.
sourcepub fn set_connect_attachment_id(self, input: Option<String>) -> Self
pub fn set_connect_attachment_id(self, input: Option<String>) -> Self
The ID of a Connect peer attachment.
sourcepub fn get_connect_attachment_id(&self) -> &Option<String>
pub fn get_connect_attachment_id(&self) -> &Option<String>
The ID of a Connect peer attachment.
sourcepub fn connect_peer_id(self, input: impl Into<String>) -> Self
pub fn connect_peer_id(self, input: impl Into<String>) -> Self
The ID of a Connect peer.
sourcepub fn set_connect_peer_id(self, input: Option<String>) -> Self
pub fn set_connect_peer_id(self, input: Option<String>) -> Self
The ID of a Connect peer.
sourcepub fn get_connect_peer_id(&self) -> &Option<String>
pub fn get_connect_peer_id(&self) -> &Option<String>
The ID of a Connect peer.
sourcepub fn edge_location(self, input: impl Into<String>) -> Self
pub fn edge_location(self, input: impl Into<String>) -> Self
The Region where the edge is located.
sourcepub fn set_edge_location(self, input: Option<String>) -> Self
pub fn set_edge_location(self, input: Option<String>) -> Self
The Region where the edge is located.
sourcepub fn get_edge_location(&self) -> &Option<String>
pub fn get_edge_location(&self) -> &Option<String>
The Region where the edge is located.
sourcepub fn connect_peer_state(self, input: ConnectPeerState) -> Self
pub fn connect_peer_state(self, input: ConnectPeerState) -> Self
The state of a Connect peer.
sourcepub fn set_connect_peer_state(self, input: Option<ConnectPeerState>) -> Self
pub fn set_connect_peer_state(self, input: Option<ConnectPeerState>) -> Self
The state of a Connect peer.
sourcepub fn get_connect_peer_state(&self) -> &Option<ConnectPeerState>
pub fn get_connect_peer_state(&self) -> &Option<ConnectPeerState>
The state of a Connect peer.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The timestamp when a Connect peer 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 Connect peer was created.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
The timestamp when a Connect peer was created.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
The list of key-value tags associated with the Connect peer summary.
The list of key-value tags associated with the Connect peer summary.
The list of key-value tags associated with the Connect peer summary.
sourcepub fn subnet_arn(self, input: impl Into<String>) -> Self
pub fn subnet_arn(self, input: impl Into<String>) -> Self
The subnet ARN for the Connect peer summary.
sourcepub fn set_subnet_arn(self, input: Option<String>) -> Self
pub fn set_subnet_arn(self, input: Option<String>) -> Self
The subnet ARN for the Connect peer summary.
sourcepub fn get_subnet_arn(&self) -> &Option<String>
pub fn get_subnet_arn(&self) -> &Option<String>
The subnet ARN for the Connect peer summary.
sourcepub fn build(self) -> ConnectPeerSummary
pub fn build(self) -> ConnectPeerSummary
Consumes the builder and constructs a ConnectPeerSummary
.
Trait Implementations§
source§impl Clone for ConnectPeerSummaryBuilder
impl Clone for ConnectPeerSummaryBuilder
source§fn clone(&self) -> ConnectPeerSummaryBuilder
fn clone(&self) -> ConnectPeerSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ConnectPeerSummaryBuilder
impl Debug for ConnectPeerSummaryBuilder
source§impl Default for ConnectPeerSummaryBuilder
impl Default for ConnectPeerSummaryBuilder
source§fn default() -> ConnectPeerSummaryBuilder
fn default() -> ConnectPeerSummaryBuilder
source§impl PartialEq for ConnectPeerSummaryBuilder
impl PartialEq for ConnectPeerSummaryBuilder
source§fn eq(&self, other: &ConnectPeerSummaryBuilder) -> bool
fn eq(&self, other: &ConnectPeerSummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ConnectPeerSummaryBuilder
Auto Trait Implementations§
impl Freeze for ConnectPeerSummaryBuilder
impl RefUnwindSafe for ConnectPeerSummaryBuilder
impl Send for ConnectPeerSummaryBuilder
impl Sync for ConnectPeerSummaryBuilder
impl Unpin for ConnectPeerSummaryBuilder
impl UnwindSafe for ConnectPeerSummaryBuilder
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more