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 for AddressTransferBuilder
impl PartialEq 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 ==
.impl StructuralPartialEq for AddressTransferBuilder
Auto Trait Implementations§
impl Freeze for AddressTransferBuilder
impl RefUnwindSafe for AddressTransferBuilder
impl Send for AddressTransferBuilder
impl Sync for AddressTransferBuilder
impl Unpin for AddressTransferBuilder
impl UnwindSafe for AddressTransferBuilder
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