Struct aws_sdk_ec2::types::builders::AddressBuilder
source · #[non_exhaustive]pub struct AddressBuilder { /* private fields */ }
Expand description
A builder for Address
.
Implementations§
source§impl AddressBuilder
impl AddressBuilder
sourcepub fn instance_id(self, input: impl Into<String>) -> Self
pub fn instance_id(self, input: impl Into<String>) -> Self
The ID of the instance that the address is associated with (if any).
sourcepub fn set_instance_id(self, input: Option<String>) -> Self
pub fn set_instance_id(self, input: Option<String>) -> Self
The ID of the instance that the address is associated with (if any).
sourcepub fn get_instance_id(&self) -> &Option<String>
pub fn get_instance_id(&self) -> &Option<String>
The ID of the instance that the address is associated with (if any).
sourcepub fn set_public_ip(self, input: Option<String>) -> Self
pub fn set_public_ip(self, input: Option<String>) -> Self
The Elastic IP address.
sourcepub fn get_public_ip(&self) -> &Option<String>
pub fn get_public_ip(&self) -> &Option<String>
The Elastic IP address.
sourcepub fn allocation_id(self, input: impl Into<String>) -> Self
pub fn allocation_id(self, input: impl Into<String>) -> Self
The ID representing the allocation of the address.
sourcepub fn set_allocation_id(self, input: Option<String>) -> Self
pub fn set_allocation_id(self, input: Option<String>) -> Self
The ID representing the allocation of the address.
sourcepub fn get_allocation_id(&self) -> &Option<String>
pub fn get_allocation_id(&self) -> &Option<String>
The ID representing the allocation of the address.
sourcepub fn association_id(self, input: impl Into<String>) -> Self
pub fn association_id(self, input: impl Into<String>) -> Self
The ID representing the association of the address with an instance.
sourcepub fn set_association_id(self, input: Option<String>) -> Self
pub fn set_association_id(self, input: Option<String>) -> Self
The ID representing the association of the address with an instance.
sourcepub fn get_association_id(&self) -> &Option<String>
pub fn get_association_id(&self) -> &Option<String>
The ID representing the association of the address with an instance.
sourcepub fn domain(self, input: DomainType) -> Self
pub fn domain(self, input: DomainType) -> Self
The network (vpc
).
sourcepub fn set_domain(self, input: Option<DomainType>) -> Self
pub fn set_domain(self, input: Option<DomainType>) -> Self
The network (vpc
).
sourcepub fn get_domain(&self) -> &Option<DomainType>
pub fn get_domain(&self) -> &Option<DomainType>
The network (vpc
).
sourcepub fn network_interface_id(self, input: impl Into<String>) -> Self
pub fn network_interface_id(self, input: impl Into<String>) -> Self
The ID of the network interface.
sourcepub fn set_network_interface_id(self, input: Option<String>) -> Self
pub fn set_network_interface_id(self, input: Option<String>) -> Self
The ID of the network interface.
sourcepub fn get_network_interface_id(&self) -> &Option<String>
pub fn get_network_interface_id(&self) -> &Option<String>
The ID of the network interface.
sourcepub fn network_interface_owner_id(self, input: impl Into<String>) -> Self
pub fn network_interface_owner_id(self, input: impl Into<String>) -> Self
The ID of the Amazon Web Services account that owns the network interface.
sourcepub fn set_network_interface_owner_id(self, input: Option<String>) -> Self
pub fn set_network_interface_owner_id(self, input: Option<String>) -> Self
The ID of the Amazon Web Services account that owns the network interface.
sourcepub fn get_network_interface_owner_id(&self) -> &Option<String>
pub fn get_network_interface_owner_id(&self) -> &Option<String>
The ID of the Amazon Web Services account that owns the network interface.
sourcepub fn private_ip_address(self, input: impl Into<String>) -> Self
pub fn private_ip_address(self, input: impl Into<String>) -> Self
The private IP address associated with the Elastic IP address.
sourcepub fn set_private_ip_address(self, input: Option<String>) -> Self
pub fn set_private_ip_address(self, input: Option<String>) -> Self
The private IP address associated with the Elastic IP address.
sourcepub fn get_private_ip_address(&self) -> &Option<String>
pub fn get_private_ip_address(&self) -> &Option<String>
The private IP address associated with the Elastic IP address.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
Any tags assigned to the Elastic IP address.
Any tags assigned to the Elastic IP address.
Any tags assigned to the Elastic IP address.
sourcepub fn public_ipv4_pool(self, input: impl Into<String>) -> Self
pub fn public_ipv4_pool(self, input: impl Into<String>) -> Self
The ID of an address pool.
sourcepub fn set_public_ipv4_pool(self, input: Option<String>) -> Self
pub fn set_public_ipv4_pool(self, input: Option<String>) -> Self
The ID of an address pool.
sourcepub fn get_public_ipv4_pool(&self) -> &Option<String>
pub fn get_public_ipv4_pool(&self) -> &Option<String>
The ID of an address pool.
sourcepub fn network_border_group(self, input: impl Into<String>) -> Self
pub fn network_border_group(self, input: impl Into<String>) -> Self
The name of the unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses.
sourcepub fn set_network_border_group(self, input: Option<String>) -> Self
pub fn set_network_border_group(self, input: Option<String>) -> Self
The name of the unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses.
sourcepub fn get_network_border_group(&self) -> &Option<String>
pub fn get_network_border_group(&self) -> &Option<String>
The name of the unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses.
sourcepub fn customer_owned_ip(self, input: impl Into<String>) -> Self
pub fn customer_owned_ip(self, input: impl Into<String>) -> Self
The customer-owned IP address.
sourcepub fn set_customer_owned_ip(self, input: Option<String>) -> Self
pub fn set_customer_owned_ip(self, input: Option<String>) -> Self
The customer-owned IP address.
sourcepub fn get_customer_owned_ip(&self) -> &Option<String>
pub fn get_customer_owned_ip(&self) -> &Option<String>
The customer-owned IP address.
sourcepub fn customer_owned_ipv4_pool(self, input: impl Into<String>) -> Self
pub fn customer_owned_ipv4_pool(self, input: impl Into<String>) -> Self
The ID of the customer-owned address pool.
sourcepub fn set_customer_owned_ipv4_pool(self, input: Option<String>) -> Self
pub fn set_customer_owned_ipv4_pool(self, input: Option<String>) -> Self
The ID of the customer-owned address pool.
sourcepub fn get_customer_owned_ipv4_pool(&self) -> &Option<String>
pub fn get_customer_owned_ipv4_pool(&self) -> &Option<String>
The ID of the customer-owned address pool.
sourcepub fn carrier_ip(self, input: impl Into<String>) -> Self
pub fn carrier_ip(self, input: impl Into<String>) -> Self
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).
sourcepub fn set_carrier_ip(self, input: Option<String>) -> Self
pub fn set_carrier_ip(self, input: Option<String>) -> Self
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).
sourcepub fn get_carrier_ip(&self) -> &Option<String>
pub fn get_carrier_ip(&self) -> &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).
Trait Implementations§
source§impl Clone for AddressBuilder
impl Clone for AddressBuilder
source§fn clone(&self) -> AddressBuilder
fn clone(&self) -> AddressBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AddressBuilder
impl Debug for AddressBuilder
source§impl Default for AddressBuilder
impl Default for AddressBuilder
source§fn default() -> AddressBuilder
fn default() -> AddressBuilder
source§impl PartialEq for AddressBuilder
impl PartialEq for AddressBuilder
source§fn eq(&self, other: &AddressBuilder) -> bool
fn eq(&self, other: &AddressBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AddressBuilder
Auto Trait Implementations§
impl Freeze for AddressBuilder
impl RefUnwindSafe for AddressBuilder
impl Send for AddressBuilder
impl Sync for AddressBuilder
impl Unpin for AddressBuilder
impl UnwindSafe for AddressBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more