Struct aws_sdk_ec2::operation::create_network_interface::builders::CreateNetworkInterfaceOutputBuilder
source · #[non_exhaustive]pub struct CreateNetworkInterfaceOutputBuilder { /* private fields */ }
Expand description
A builder for CreateNetworkInterfaceOutput
.
Implementations§
source§impl CreateNetworkInterfaceOutputBuilder
impl CreateNetworkInterfaceOutputBuilder
sourcepub fn network_interface(self, input: NetworkInterface) -> Self
pub fn network_interface(self, input: NetworkInterface) -> Self
Information about the network interface.
sourcepub fn set_network_interface(self, input: Option<NetworkInterface>) -> Self
pub fn set_network_interface(self, input: Option<NetworkInterface>) -> Self
Information about the network interface.
sourcepub fn get_network_interface(&self) -> &Option<NetworkInterface>
pub fn get_network_interface(&self) -> &Option<NetworkInterface>
Information about the network interface.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
The token to use to retrieve the next page of results. This value is null
when there are no more results to return.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
The token to use to retrieve the next page of results. This value is null
when there are no more results to return.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
The token to use to retrieve the next page of results. This value is null
when there are no more results to return.
sourcepub fn build(self) -> CreateNetworkInterfaceOutput
pub fn build(self) -> CreateNetworkInterfaceOutput
Consumes the builder and constructs a CreateNetworkInterfaceOutput
.
Trait Implementations§
source§impl Clone for CreateNetworkInterfaceOutputBuilder
impl Clone for CreateNetworkInterfaceOutputBuilder
source§fn clone(&self) -> CreateNetworkInterfaceOutputBuilder
fn clone(&self) -> CreateNetworkInterfaceOutputBuilder
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 Default for CreateNetworkInterfaceOutputBuilder
impl Default for CreateNetworkInterfaceOutputBuilder
source§fn default() -> CreateNetworkInterfaceOutputBuilder
fn default() -> CreateNetworkInterfaceOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CreateNetworkInterfaceOutputBuilder
impl PartialEq for CreateNetworkInterfaceOutputBuilder
source§fn eq(&self, other: &CreateNetworkInterfaceOutputBuilder) -> bool
fn eq(&self, other: &CreateNetworkInterfaceOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateNetworkInterfaceOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateNetworkInterfaceOutputBuilder
impl RefUnwindSafe for CreateNetworkInterfaceOutputBuilder
impl Send for CreateNetworkInterfaceOutputBuilder
impl Sync for CreateNetworkInterfaceOutputBuilder
impl Unpin for CreateNetworkInterfaceOutputBuilder
impl UnwindSafe for CreateNetworkInterfaceOutputBuilder
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.