Struct aws_sdk_ec2::model::scheduled_instances_network_interface::Builder [−][src]
#[non_exhaustive]pub struct Builder { /* fields omitted */ }
Expand description
A builder for ScheduledInstancesNetworkInterface
Implementations
Indicates whether to assign a public IPv4 address to instances launched in a VPC. The
public IPv4 address can only be assigned to a network interface for eth0, and can only be
assigned to a new network interface, not an existing one. You cannot specify more than one
network interface in the request. If launching into a default subnet, the default value is
true
.
Indicates whether to assign a public IPv4 address to instances launched in a VPC. The
public IPv4 address can only be assigned to a network interface for eth0, and can only be
assigned to a new network interface, not an existing one. You cannot specify more than one
network interface in the request. If launching into a default subnet, the default value is
true
.
Indicates whether to delete the interface when the instance is terminated.
Indicates whether to delete the interface when the instance is terminated.
The description.
The description.
The index of the device for the network interface attachment.
The index of the device for the network interface attachment.
Appends an item to groups
.
To override the contents of this collection use set_groups
.
The IDs of the security groups.
The IDs of the security groups.
The number of IPv6 addresses to assign to the network interface. The IPv6 addresses are automatically selected from the subnet range.
The number of IPv6 addresses to assign to the network interface. The IPv6 addresses are automatically selected from the subnet range.
Appends an item to ipv6_addresses
.
To override the contents of this collection use set_ipv6_addresses
.
The specific IPv6 addresses from the subnet range.
The specific IPv6 addresses from the subnet range.
The ID of the network interface.
The ID of the network interface.
The IPv4 address of the network interface within the subnet.
The IPv4 address of the network interface within the subnet.
pub fn private_ip_address_configs(
self,
input: impl Into<ScheduledInstancesPrivateIpAddressConfig>
) -> Self
pub fn private_ip_address_configs(
self,
input: impl Into<ScheduledInstancesPrivateIpAddressConfig>
) -> Self
Appends an item to private_ip_address_configs
.
To override the contents of this collection use set_private_ip_address_configs
.
The private IPv4 addresses.
pub fn set_private_ip_address_configs(
self,
input: Option<Vec<ScheduledInstancesPrivateIpAddressConfig>>
) -> Self
pub fn set_private_ip_address_configs(
self,
input: Option<Vec<ScheduledInstancesPrivateIpAddressConfig>>
) -> Self
The private IPv4 addresses.
The number of secondary private IPv4 addresses.
The number of secondary private IPv4 addresses.
The ID of the subnet.
Consumes the builder and constructs a ScheduledInstancesNetworkInterface
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