Struct aws_sdk_ec2::model::address_transfer::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for AddressTransfer
.
Implementations§
source§impl Builder
impl Builder
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 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 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 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 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 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 build(self) -> AddressTransfer
pub fn build(self) -> AddressTransfer
Consumes the builder and constructs a AddressTransfer
.