Struct aws_sdk_ec2::types::AddressTransfer
source · #[non_exhaustive]pub struct AddressTransfer {
pub public_ip: Option<String>,
pub allocation_id: Option<String>,
pub transfer_account_id: Option<String>,
pub transfer_offer_expiration_timestamp: Option<DateTime>,
pub transfer_offer_accepted_timestamp: Option<DateTime>,
pub address_transfer_status: Option<AddressTransferStatus>,
}
Expand description
Details on the Elastic IP address transfer. For more information, see Transfer Elastic IP addresses in the Amazon Virtual Private Cloud User Guide.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.public_ip: Option<String>
The Elastic IP address being transferred.
allocation_id: Option<String>
The allocation ID of an Elastic IP address.
transfer_account_id: Option<String>
The ID of the account that you want to transfer the Elastic IP address to.
transfer_offer_expiration_timestamp: Option<DateTime>
The timestamp when the Elastic IP address transfer expired. When the source account starts the transfer, the transfer account has seven hours to allocate the Elastic IP address to complete the transfer, or the Elastic IP address will return to its original owner.
transfer_offer_accepted_timestamp: Option<DateTime>
The timestamp when the Elastic IP address transfer was accepted.
address_transfer_status: Option<AddressTransferStatus>
The Elastic IP address transfer status.
Implementations§
source§impl AddressTransfer
impl AddressTransfer
sourcepub fn allocation_id(&self) -> Option<&str>
pub fn allocation_id(&self) -> Option<&str>
The allocation ID of an Elastic IP address.
sourcepub fn transfer_account_id(&self) -> Option<&str>
pub fn transfer_account_id(&self) -> Option<&str>
The ID of the account that you want to transfer the Elastic IP address to.
sourcepub fn transfer_offer_expiration_timestamp(&self) -> Option<&DateTime>
pub fn transfer_offer_expiration_timestamp(&self) -> Option<&DateTime>
The timestamp when the Elastic IP address transfer expired. When the source account starts the transfer, the transfer account has seven hours to allocate the Elastic IP address to complete the transfer, or the Elastic IP address will return to its original owner.
sourcepub fn transfer_offer_accepted_timestamp(&self) -> Option<&DateTime>
pub fn transfer_offer_accepted_timestamp(&self) -> Option<&DateTime>
The timestamp when the Elastic IP address transfer was accepted.
sourcepub fn address_transfer_status(&self) -> Option<&AddressTransferStatus>
pub fn address_transfer_status(&self) -> Option<&AddressTransferStatus>
The Elastic IP address transfer status.
source§impl AddressTransfer
impl AddressTransfer
sourcepub fn builder() -> AddressTransferBuilder
pub fn builder() -> AddressTransferBuilder
Creates a new builder-style object to manufacture AddressTransfer
.
Trait Implementations§
source§impl Clone for AddressTransfer
impl Clone for AddressTransfer
source§fn clone(&self) -> AddressTransfer
fn clone(&self) -> AddressTransfer
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AddressTransfer
impl Debug for AddressTransfer
source§impl PartialEq<AddressTransfer> for AddressTransfer
impl PartialEq<AddressTransfer> for AddressTransfer
source§fn eq(&self, other: &AddressTransfer) -> bool
fn eq(&self, other: &AddressTransfer) -> bool
self
and other
values to be equal, and is used
by ==
.