Struct aws_sdk_quicksight::types::builders::NetworkInterfaceBuilder
source · #[non_exhaustive]pub struct NetworkInterfaceBuilder { /* private fields */ }
Expand description
A builder for NetworkInterface
.
Implementations§
source§impl NetworkInterfaceBuilder
impl NetworkInterfaceBuilder
sourcepub fn subnet_id(self, input: impl Into<String>) -> Self
pub fn subnet_id(self, input: impl Into<String>) -> Self
The subnet ID associated with the network interface.
sourcepub fn set_subnet_id(self, input: Option<String>) -> Self
pub fn set_subnet_id(self, input: Option<String>) -> Self
The subnet ID associated with the network interface.
sourcepub fn get_subnet_id(&self) -> &Option<String>
pub fn get_subnet_id(&self) -> &Option<String>
The subnet ID associated with the network interface.
sourcepub fn availability_zone(self, input: impl Into<String>) -> Self
pub fn availability_zone(self, input: impl Into<String>) -> Self
The availability zone that the network interface resides in.
sourcepub fn set_availability_zone(self, input: Option<String>) -> Self
pub fn set_availability_zone(self, input: Option<String>) -> Self
The availability zone that the network interface resides in.
sourcepub fn get_availability_zone(&self) -> &Option<String>
pub fn get_availability_zone(&self) -> &Option<String>
The availability zone that the network interface resides in.
sourcepub fn error_message(self, input: impl Into<String>) -> Self
pub fn error_message(self, input: impl Into<String>) -> Self
An error message.
sourcepub fn set_error_message(self, input: Option<String>) -> Self
pub fn set_error_message(self, input: Option<String>) -> Self
An error message.
sourcepub fn get_error_message(&self) -> &Option<String>
pub fn get_error_message(&self) -> &Option<String>
An error message.
sourcepub fn status(self, input: NetworkInterfaceStatus) -> Self
pub fn status(self, input: NetworkInterfaceStatus) -> Self
The status of the network interface.
sourcepub fn set_status(self, input: Option<NetworkInterfaceStatus>) -> Self
pub fn set_status(self, input: Option<NetworkInterfaceStatus>) -> Self
The status of the network interface.
sourcepub fn get_status(&self) -> &Option<NetworkInterfaceStatus>
pub fn get_status(&self) -> &Option<NetworkInterfaceStatus>
The status of the network interface.
sourcepub fn network_interface_id(self, input: impl Into<String>) -> Self
pub fn network_interface_id(self, input: impl Into<String>) -> Self
The network interface ID.
sourcepub fn set_network_interface_id(self, input: Option<String>) -> Self
pub fn set_network_interface_id(self, input: Option<String>) -> Self
The network interface ID.
sourcepub fn get_network_interface_id(&self) -> &Option<String>
pub fn get_network_interface_id(&self) -> &Option<String>
The network interface ID.
sourcepub fn build(self) -> NetworkInterface
pub fn build(self) -> NetworkInterface
Consumes the builder and constructs a NetworkInterface
.
Trait Implementations§
source§impl Clone for NetworkInterfaceBuilder
impl Clone for NetworkInterfaceBuilder
source§fn clone(&self) -> NetworkInterfaceBuilder
fn clone(&self) -> NetworkInterfaceBuilder
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 NetworkInterfaceBuilder
impl Debug for NetworkInterfaceBuilder
source§impl Default for NetworkInterfaceBuilder
impl Default for NetworkInterfaceBuilder
source§fn default() -> NetworkInterfaceBuilder
fn default() -> NetworkInterfaceBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for NetworkInterfaceBuilder
impl PartialEq for NetworkInterfaceBuilder
source§fn eq(&self, other: &NetworkInterfaceBuilder) -> bool
fn eq(&self, other: &NetworkInterfaceBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for NetworkInterfaceBuilder
Auto Trait Implementations§
impl Freeze for NetworkInterfaceBuilder
impl RefUnwindSafe for NetworkInterfaceBuilder
impl Send for NetworkInterfaceBuilder
impl Sync for NetworkInterfaceBuilder
impl Unpin for NetworkInterfaceBuilder
impl UnwindSafe for NetworkInterfaceBuilder
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.