Struct aws_sdk_ec2::operation::reset_network_interface_attribute::ResetNetworkInterfaceAttributeInput
source · #[non_exhaustive]pub struct ResetNetworkInterfaceAttributeInput {
pub dry_run: Option<bool>,
pub network_interface_id: Option<String>,
pub source_dest_check: Option<String>,
}
Expand description
Contains the parameters for ResetNetworkInterfaceAttribute.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.dry_run: 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
.
network_interface_id: Option<String>
The ID of the network interface.
source_dest_check: Option<String>
The source/destination checking attribute. Resets the value to true
.
Implementations§
source§impl ResetNetworkInterfaceAttributeInput
impl ResetNetworkInterfaceAttributeInput
sourcepub fn dry_run(&self) -> Option<bool>
pub fn 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) -> Option<&str>
pub fn network_interface_id(&self) -> Option<&str>
The ID of the network interface.
sourcepub fn source_dest_check(&self) -> Option<&str>
pub fn source_dest_check(&self) -> Option<&str>
The source/destination checking attribute. Resets the value to true
.
source§impl ResetNetworkInterfaceAttributeInput
impl ResetNetworkInterfaceAttributeInput
sourcepub fn builder() -> ResetNetworkInterfaceAttributeInputBuilder
pub fn builder() -> ResetNetworkInterfaceAttributeInputBuilder
Creates a new builder-style object to manufacture ResetNetworkInterfaceAttributeInput
.
Trait Implementations§
source§impl Clone for ResetNetworkInterfaceAttributeInput
impl Clone for ResetNetworkInterfaceAttributeInput
source§fn clone(&self) -> ResetNetworkInterfaceAttributeInput
fn clone(&self) -> ResetNetworkInterfaceAttributeInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq<ResetNetworkInterfaceAttributeInput> for ResetNetworkInterfaceAttributeInput
impl PartialEq<ResetNetworkInterfaceAttributeInput> for ResetNetworkInterfaceAttributeInput
source§fn eq(&self, other: &ResetNetworkInterfaceAttributeInput) -> bool
fn eq(&self, other: &ResetNetworkInterfaceAttributeInput) -> bool
self
and other
values to be equal, and is used
by ==
.