Struct aws_sdk_securityhub::model::aws_ec2_network_interface_details::Builder [−][src]
#[non_exhaustive]pub struct Builder { /* fields omitted */ }
Expand description
A builder for AwsEc2NetworkInterfaceDetails
Implementations
The network interface attachment.
The network interface attachment.
The ID of the network interface.
The ID of the network interface.
Appends an item to security_groups
.
To override the contents of this collection use set_security_groups
.
Security groups for the network interface.
pub fn set_security_groups(
self,
input: Option<Vec<AwsEc2NetworkInterfaceSecurityGroup>>
) -> Self
pub fn set_security_groups(
self,
input: Option<Vec<AwsEc2NetworkInterfaceSecurityGroup>>
) -> Self
Security groups for the network interface.
Indicates whether traffic to or from the instance is validated.
Indicates whether traffic to or from the instance is validated.
pub fn ip_v6_addresses(
self,
input: impl Into<AwsEc2NetworkInterfaceIpV6AddressDetail>
) -> Self
pub fn ip_v6_addresses(
self,
input: impl Into<AwsEc2NetworkInterfaceIpV6AddressDetail>
) -> Self
Appends an item to ip_v6_addresses
.
To override the contents of this collection use set_ip_v6_addresses
.
The IPv6 addresses associated with the network interface.
pub fn set_ip_v6_addresses(
self,
input: Option<Vec<AwsEc2NetworkInterfaceIpV6AddressDetail>>
) -> Self
pub fn set_ip_v6_addresses(
self,
input: Option<Vec<AwsEc2NetworkInterfaceIpV6AddressDetail>>
) -> Self
The IPv6 addresses associated with the network interface.
pub fn private_ip_addresses(
self,
input: impl Into<AwsEc2NetworkInterfacePrivateIpAddressDetail>
) -> Self
pub fn private_ip_addresses(
self,
input: impl Into<AwsEc2NetworkInterfacePrivateIpAddressDetail>
) -> Self
Appends an item to private_ip_addresses
.
To override the contents of this collection use set_private_ip_addresses
.
The private IPv4 addresses associated with the network interface.
pub fn set_private_ip_addresses(
self,
input: Option<Vec<AwsEc2NetworkInterfacePrivateIpAddressDetail>>
) -> Self
pub fn set_private_ip_addresses(
self,
input: Option<Vec<AwsEc2NetworkInterfacePrivateIpAddressDetail>>
) -> Self
The private IPv4 addresses associated with the network interface.
The public DNS name of the network interface.
The public DNS name of the network interface.
The address of the Elastic IP address bound to the network interface.
The address of the Elastic IP address bound to the network interface.
Consumes the builder and constructs a AwsEc2NetworkInterfaceDetails
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl UnwindSafe for Builder
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more