Struct aws_sdk_ec2::types::builders::AddressTransferBuilder
source · #[non_exhaustive]pub struct AddressTransferBuilder { /* private fields */ }
Expand description
A builder for AddressTransfer
.
Implementations§
source§impl AddressTransferBuilder
impl AddressTransferBuilder
sourcepub fn public_ip(self, input: impl Into<String>) -> Self
pub fn public_ip(self, input: impl Into<String>) -> Self
The Elastic IP address being transferred.
sourcepub fn set_public_ip(self, input: Option<String>) -> Self
pub fn set_public_ip(self, input: Option<String>) -> Self
The Elastic IP address being transferred.
sourcepub fn get_public_ip(&self) -> &Option<String>
pub fn get_public_ip(&self) -> &Option<String>
The Elastic IP address being transferred.
sourcepub fn allocation_id(self, input: impl Into<String>) -> Self
pub fn allocation_id(self, input: impl Into<String>) -> Self
The allocation ID of an Elastic IP address.
sourcepub fn set_allocation_id(self, input: Option<String>) -> Self
pub fn set_allocation_id(self, input: Option<String>) -> Self
The allocation ID of an Elastic IP address.
sourcepub fn get_allocation_id(&self) -> &Option<String>
pub fn get_allocation_id(&self) -> &Option<String>
The allocation ID of an Elastic IP address.
sourcepub fn transfer_account_id(self, input: impl Into<String>) -> Self
pub fn transfer_account_id(self, input: impl Into<String>) -> Self
The ID of the account that you want to transfer the Elastic IP address to.
sourcepub fn set_transfer_account_id(self, input: Option<String>) -> Self
pub fn set_transfer_account_id(self, input: Option<String>) -> Self
The ID of the account that you want to transfer the Elastic IP address to.
sourcepub fn get_transfer_account_id(&self) -> &Option<String>
pub fn get_transfer_account_id(&self) -> &Option<String>
The ID of the account that you want to transfer the Elastic IP address to.
sourcepub fn transfer_offer_expiration_timestamp(self, input: DateTime) -> Self
pub fn transfer_offer_expiration_timestamp(self, input: DateTime) -> Self
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 set_transfer_offer_expiration_timestamp(
self,
input: Option<DateTime>
) -> Self
pub fn set_transfer_offer_expiration_timestamp( self, input: Option<DateTime> ) -> Self
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 get_transfer_offer_expiration_timestamp(&self) -> &Option<DateTime>
pub fn get_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, input: DateTime) -> Self
pub fn transfer_offer_accepted_timestamp(self, input: DateTime) -> Self
The timestamp when the Elastic IP address transfer was accepted.
sourcepub fn set_transfer_offer_accepted_timestamp(
self,
input: Option<DateTime>
) -> Self
pub fn set_transfer_offer_accepted_timestamp( self, input: Option<DateTime> ) -> Self
The timestamp when the Elastic IP address transfer was accepted.
sourcepub fn get_transfer_offer_accepted_timestamp(&self) -> &Option<DateTime>
pub fn get_transfer_offer_accepted_timestamp(&self) -> &Option<DateTime>
The timestamp when the Elastic IP address transfer was accepted.
sourcepub fn address_transfer_status(self, input: AddressTransferStatus) -> Self
pub fn address_transfer_status(self, input: AddressTransferStatus) -> Self
The Elastic IP address transfer status.
sourcepub fn set_address_transfer_status(
self,
input: Option<AddressTransferStatus>
) -> Self
pub fn set_address_transfer_status( self, input: Option<AddressTransferStatus> ) -> Self
The Elastic IP address transfer status.
sourcepub fn get_address_transfer_status(&self) -> &Option<AddressTransferStatus>
pub fn get_address_transfer_status(&self) -> &Option<AddressTransferStatus>
The Elastic IP address transfer status.
sourcepub fn build(self) -> AddressTransfer
pub fn build(self) -> AddressTransfer
Consumes the builder and constructs a AddressTransfer
.
Trait Implementations§
source§impl Clone for AddressTransferBuilder
impl Clone for AddressTransferBuilder
source§fn clone(&self) -> AddressTransferBuilder
fn clone(&self) -> AddressTransferBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AddressTransferBuilder
impl Debug for AddressTransferBuilder
source§impl Default for AddressTransferBuilder
impl Default for AddressTransferBuilder
source§fn default() -> AddressTransferBuilder
fn default() -> AddressTransferBuilder
source§impl PartialEq<AddressTransferBuilder> for AddressTransferBuilder
impl PartialEq<AddressTransferBuilder> for AddressTransferBuilder
source§fn eq(&self, other: &AddressTransferBuilder) -> bool
fn eq(&self, other: &AddressTransferBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.