Struct aws_sdk_ec2::operation::describe_network_interface_attribute::builders::DescribeNetworkInterfaceAttributeInputBuilder
source · #[non_exhaustive]pub struct DescribeNetworkInterfaceAttributeInputBuilder { /* private fields */ }
Expand description
A builder for DescribeNetworkInterfaceAttributeInput
.
Implementations§
source§impl DescribeNetworkInterfaceAttributeInputBuilder
impl DescribeNetworkInterfaceAttributeInputBuilder
sourcepub fn attribute(self, input: NetworkInterfaceAttribute) -> Self
pub fn attribute(self, input: NetworkInterfaceAttribute) -> Self
The attribute of the network interface. This parameter is required.
sourcepub fn set_attribute(self, input: Option<NetworkInterfaceAttribute>) -> Self
pub fn set_attribute(self, input: Option<NetworkInterfaceAttribute>) -> Self
The attribute of the network interface. This parameter is required.
sourcepub fn get_attribute(&self) -> &Option<NetworkInterfaceAttribute>
pub fn get_attribute(&self) -> &Option<NetworkInterfaceAttribute>
The attribute of the network interface. This parameter is required.
sourcepub fn dry_run(self, input: bool) -> Self
pub fn dry_run(self, input: bool) -> Self
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
sourcepub fn set_dry_run(self, input: Option<bool>) -> Self
pub fn set_dry_run(self, input: Option<bool>) -> Self
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
sourcepub fn get_dry_run(&self) -> &Option<bool>
pub fn get_dry_run(&self) -> &Option<bool>
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
sourcepub fn network_interface_id(self, input: impl Into<String>) -> Self
pub fn network_interface_id(self, input: impl Into<String>) -> Self
The ID of the network interface.
sourcepub fn set_network_interface_id(self, input: Option<String>) -> Self
pub fn set_network_interface_id(self, input: Option<String>) -> Self
The ID of the network interface.
sourcepub fn get_network_interface_id(&self) -> &Option<String>
pub fn get_network_interface_id(&self) -> &Option<String>
The ID of the network interface.
sourcepub fn build(self) -> Result<DescribeNetworkInterfaceAttributeInput, BuildError>
pub fn build(self) -> Result<DescribeNetworkInterfaceAttributeInput, BuildError>
Consumes the builder and constructs a DescribeNetworkInterfaceAttributeInput
.
source§impl DescribeNetworkInterfaceAttributeInputBuilder
impl DescribeNetworkInterfaceAttributeInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DescribeNetworkInterfaceAttributeOutput, SdkError<DescribeNetworkInterfaceAttributeError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DescribeNetworkInterfaceAttributeOutput, SdkError<DescribeNetworkInterfaceAttributeError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DescribeNetworkInterfaceAttributeInputBuilder
impl Clone for DescribeNetworkInterfaceAttributeInputBuilder
source§fn clone(&self) -> DescribeNetworkInterfaceAttributeInputBuilder
fn clone(&self) -> DescribeNetworkInterfaceAttributeInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DescribeNetworkInterfaceAttributeInputBuilder
impl Default for DescribeNetworkInterfaceAttributeInputBuilder
source§fn default() -> DescribeNetworkInterfaceAttributeInputBuilder
fn default() -> DescribeNetworkInterfaceAttributeInputBuilder
source§impl PartialEq<DescribeNetworkInterfaceAttributeInputBuilder> for DescribeNetworkInterfaceAttributeInputBuilder
impl PartialEq<DescribeNetworkInterfaceAttributeInputBuilder> for DescribeNetworkInterfaceAttributeInputBuilder
source§fn eq(&self, other: &DescribeNetworkInterfaceAttributeInputBuilder) -> bool
fn eq(&self, other: &DescribeNetworkInterfaceAttributeInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.