#[non_exhaustive]pub struct NetworkTelemetryBuilder { /* private fields */ }
Expand description
A builder for NetworkTelemetry
.
Implementations§
source§impl NetworkTelemetryBuilder
impl NetworkTelemetryBuilder
sourcepub fn registered_gateway_arn(self, input: impl Into<String>) -> Self
pub fn registered_gateway_arn(self, input: impl Into<String>) -> Self
The ARN of the gateway.
sourcepub fn set_registered_gateway_arn(self, input: Option<String>) -> Self
pub fn set_registered_gateway_arn(self, input: Option<String>) -> Self
The ARN of the gateway.
sourcepub fn get_registered_gateway_arn(&self) -> &Option<String>
pub fn get_registered_gateway_arn(&self) -> &Option<String>
The ARN of the 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 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 aws_region(self, input: impl Into<String>) -> Self
pub fn aws_region(self, input: impl Into<String>) -> Self
The Amazon Web Services Region.
sourcepub fn set_aws_region(self, input: Option<String>) -> Self
pub fn set_aws_region(self, input: Option<String>) -> Self
The Amazon Web Services Region.
sourcepub fn get_aws_region(&self) -> &Option<String>
pub fn get_aws_region(&self) -> &Option<String>
The Amazon Web Services Region.
sourcepub fn account_id(self, input: impl Into<String>) -> Self
pub fn account_id(self, input: impl Into<String>) -> Self
The Amazon Web Services account ID.
sourcepub fn set_account_id(self, input: Option<String>) -> Self
pub fn set_account_id(self, input: Option<String>) -> Self
The Amazon Web Services account ID.
sourcepub fn get_account_id(&self) -> &Option<String>
pub fn get_account_id(&self) -> &Option<String>
The Amazon Web Services account ID.
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 resource_arn(self, input: impl Into<String>) -> Self
pub fn resource_arn(self, input: impl Into<String>) -> Self
The ARN of the resource.
sourcepub fn set_resource_arn(self, input: Option<String>) -> Self
pub fn set_resource_arn(self, input: Option<String>) -> Self
The ARN of the resource.
sourcepub fn get_resource_arn(&self) -> &Option<String>
pub fn get_resource_arn(&self) -> &Option<String>
The ARN of the resource.
sourcepub fn set_address(self, input: Option<String>) -> Self
pub fn set_address(self, input: Option<String>) -> Self
The address.
sourcepub fn get_address(&self) -> &Option<String>
pub fn get_address(&self) -> &Option<String>
The address.
sourcepub fn health(self, input: ConnectionHealth) -> Self
pub fn health(self, input: ConnectionHealth) -> Self
The connection health.
sourcepub fn set_health(self, input: Option<ConnectionHealth>) -> Self
pub fn set_health(self, input: Option<ConnectionHealth>) -> Self
The connection health.
sourcepub fn get_health(&self) -> &Option<ConnectionHealth>
pub fn get_health(&self) -> &Option<ConnectionHealth>
The connection health.
sourcepub fn build(self) -> NetworkTelemetry
pub fn build(self) -> NetworkTelemetry
Consumes the builder and constructs a NetworkTelemetry
.
Trait Implementations§
source§impl Clone for NetworkTelemetryBuilder
impl Clone for NetworkTelemetryBuilder
source§fn clone(&self) -> NetworkTelemetryBuilder
fn clone(&self) -> NetworkTelemetryBuilder
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 NetworkTelemetryBuilder
impl Debug for NetworkTelemetryBuilder
source§impl Default for NetworkTelemetryBuilder
impl Default for NetworkTelemetryBuilder
source§fn default() -> NetworkTelemetryBuilder
fn default() -> NetworkTelemetryBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for NetworkTelemetryBuilder
impl PartialEq for NetworkTelemetryBuilder
source§fn eq(&self, other: &NetworkTelemetryBuilder) -> bool
fn eq(&self, other: &NetworkTelemetryBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for NetworkTelemetryBuilder
Auto Trait Implementations§
impl Freeze for NetworkTelemetryBuilder
impl RefUnwindSafe for NetworkTelemetryBuilder
impl Send for NetworkTelemetryBuilder
impl Sync for NetworkTelemetryBuilder
impl Unpin for NetworkTelemetryBuilder
impl UnwindSafe for NetworkTelemetryBuilder
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>
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.