#[non_exhaustive]pub struct NetworkResourceSummaryBuilder { /* private fields */ }
Expand description
A builder for NetworkResourceSummary
.
Implementations§
source§impl NetworkResourceSummaryBuilder
impl NetworkResourceSummaryBuilder
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 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 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 definition(self, input: impl Into<String>) -> Self
pub fn definition(self, input: impl Into<String>) -> Self
Information about the resource, in JSON format. Network Manager gets this information by describing the resource using its Describe API call.
sourcepub fn set_definition(self, input: Option<String>) -> Self
pub fn set_definition(self, input: Option<String>) -> Self
Information about the resource, in JSON format. Network Manager gets this information by describing the resource using its Describe API call.
sourcepub fn get_definition(&self) -> &Option<String>
pub fn get_definition(&self) -> &Option<String>
Information about the resource, in JSON format. Network Manager gets this information by describing the resource using its Describe API call.
sourcepub fn set_name_tag(self, input: Option<String>) -> Self
pub fn set_name_tag(self, input: Option<String>) -> Self
The value for the Name tag.
sourcepub fn get_name_tag(&self) -> &Option<String>
pub fn get_name_tag(&self) -> &Option<String>
The value for the Name tag.
sourcepub fn is_middlebox(self, input: bool) -> Self
pub fn is_middlebox(self, input: bool) -> Self
Indicates whether this is a middlebox appliance.
sourcepub fn set_is_middlebox(self, input: Option<bool>) -> Self
pub fn set_is_middlebox(self, input: Option<bool>) -> Self
Indicates whether this is a middlebox appliance.
sourcepub fn get_is_middlebox(&self) -> &Option<bool>
pub fn get_is_middlebox(&self) -> &Option<bool>
Indicates whether this is a middlebox appliance.
sourcepub fn build(self) -> NetworkResourceSummary
pub fn build(self) -> NetworkResourceSummary
Consumes the builder and constructs a NetworkResourceSummary
.
Trait Implementations§
source§impl Clone for NetworkResourceSummaryBuilder
impl Clone for NetworkResourceSummaryBuilder
source§fn clone(&self) -> NetworkResourceSummaryBuilder
fn clone(&self) -> NetworkResourceSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for NetworkResourceSummaryBuilder
impl Default for NetworkResourceSummaryBuilder
source§fn default() -> NetworkResourceSummaryBuilder
fn default() -> NetworkResourceSummaryBuilder
source§impl PartialEq for NetworkResourceSummaryBuilder
impl PartialEq for NetworkResourceSummaryBuilder
source§fn eq(&self, other: &NetworkResourceSummaryBuilder) -> bool
fn eq(&self, other: &NetworkResourceSummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for NetworkResourceSummaryBuilder
Auto Trait Implementations§
impl Freeze for NetworkResourceSummaryBuilder
impl RefUnwindSafe for NetworkResourceSummaryBuilder
impl Send for NetworkResourceSummaryBuilder
impl Sync for NetworkResourceSummaryBuilder
impl Unpin for NetworkResourceSummaryBuilder
impl UnwindSafe for NetworkResourceSummaryBuilder
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