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<CreateNetworkInterfaceOutputBuilder> for CreateNetworkInterfaceOutputBuilder
impl PartialEq<CreateNetworkInterfaceOutputBuilder> 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 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