Struct aws_sdk_ec2::model::Address[][src]

#[non_exhaustive]
pub struct Address {
Show 14 fields pub instance_id: Option<String>, pub public_ip: Option<String>, pub allocation_id: Option<String>, pub association_id: Option<String>, pub domain: Option<DomainType>, pub network_interface_id: Option<String>, pub network_interface_owner_id: Option<String>, pub private_ip_address: Option<String>, pub tags: Option<Vec<Tag>>, pub public_ipv4_pool: Option<String>, pub network_border_group: Option<String>, pub customer_owned_ip: Option<String>, pub customer_owned_ipv4_pool: Option<String>, pub carrier_ip: Option<String>,
}
Expand description

Describes an Elastic IP address, or a carrier IP address.

Fields (Non-exhaustive)

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
instance_id: Option<String>

The ID of the instance that the address is associated with (if any).

public_ip: Option<String>

The Elastic IP address.

allocation_id: Option<String>

The ID representing the allocation of the address for use with EC2-VPC.

association_id: Option<String>

The ID representing the association of the address with an instance in a VPC.

domain: Option<DomainType>

Indicates whether this Elastic IP address is for use with instances in EC2-Classic (standard) or instances in a VPC (vpc).

network_interface_id: Option<String>

The ID of the network interface.

network_interface_owner_id: Option<String>

The ID of the Amazon Web Services account that owns the network interface.

private_ip_address: Option<String>

The private IP address associated with the Elastic IP address.

tags: Option<Vec<Tag>>

Any tags assigned to the Elastic IP address.

public_ipv4_pool: Option<String>

The ID of an address pool.

network_border_group: Option<String>

The name of the unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses.

customer_owned_ip: Option<String>

The customer-owned IP address.

customer_owned_ipv4_pool: Option<String>

The ID of the customer-owned address pool.

carrier_ip: Option<String>

The carrier IP address associated. This option is only available for network interfaces which reside in a subnet in a Wavelength Zone (for example an EC2 instance).

Implementations

The ID of the instance that the address is associated with (if any).

The Elastic IP address.

The ID representing the allocation of the address for use with EC2-VPC.

The ID representing the association of the address with an instance in a VPC.

Indicates whether this Elastic IP address is for use with instances in EC2-Classic (standard) or instances in a VPC (vpc).

The ID of the network interface.

The ID of the Amazon Web Services account that owns the network interface.

The private IP address associated with the Elastic IP address.

Any tags assigned to the Elastic IP address.

The ID of an address pool.

The name of the unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses.

The customer-owned IP address.

The ID of the customer-owned address pool.

The carrier IP address associated. This option is only available for network interfaces which reside in a subnet in a Wavelength Zone (for example an EC2 instance).

Creates a new builder-style object to manufacture Address

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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