#[non_exhaustive]pub struct AwsEc2NetworkInterfaceDetails { /* private fields */ }
Expand description
Details about the network interface
Implementations§
source§impl AwsEc2NetworkInterfaceDetails
impl AwsEc2NetworkInterfaceDetails
sourcepub fn attachment(&self) -> Option<&AwsEc2NetworkInterfaceAttachment>
pub fn attachment(&self) -> Option<&AwsEc2NetworkInterfaceAttachment>
The network interface attachment.
sourcepub fn network_interface_id(&self) -> Option<&str>
pub fn network_interface_id(&self) -> Option<&str>
The ID of the network interface.
sourcepub fn security_groups(&self) -> Option<&[AwsEc2NetworkInterfaceSecurityGroup]>
pub fn security_groups(&self) -> Option<&[AwsEc2NetworkInterfaceSecurityGroup]>
Security groups for the network interface.
sourcepub fn source_dest_check(&self) -> bool
pub fn source_dest_check(&self) -> bool
Indicates whether traffic to or from the instance is validated.
sourcepub fn ip_v6_addresses(
&self
) -> Option<&[AwsEc2NetworkInterfaceIpV6AddressDetail]>
pub fn ip_v6_addresses(
&self
) -> Option<&[AwsEc2NetworkInterfaceIpV6AddressDetail]>
The IPv6 addresses associated with the network interface.
sourcepub fn private_ip_addresses(
&self
) -> Option<&[AwsEc2NetworkInterfacePrivateIpAddressDetail]>
pub fn private_ip_addresses(
&self
) -> Option<&[AwsEc2NetworkInterfacePrivateIpAddressDetail]>
The private IPv4 addresses associated with the network interface.
sourcepub fn public_dns_name(&self) -> Option<&str>
pub fn public_dns_name(&self) -> Option<&str>
The public DNS name of the network interface.
source§impl AwsEc2NetworkInterfaceDetails
impl AwsEc2NetworkInterfaceDetails
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AwsEc2NetworkInterfaceDetails
.
Trait Implementations§
source§impl Clone for AwsEc2NetworkInterfaceDetails
impl Clone for AwsEc2NetworkInterfaceDetails
source§fn clone(&self) -> AwsEc2NetworkInterfaceDetails
fn clone(&self) -> AwsEc2NetworkInterfaceDetails
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 PartialEq<AwsEc2NetworkInterfaceDetails> for AwsEc2NetworkInterfaceDetails
impl PartialEq<AwsEc2NetworkInterfaceDetails> for AwsEc2NetworkInterfaceDetails
source§fn eq(&self, other: &AwsEc2NetworkInterfaceDetails) -> bool
fn eq(&self, other: &AwsEc2NetworkInterfaceDetails) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.