Struct aws_sdk_ec2::types::builders::AddressAttributeBuilder
source · #[non_exhaustive]pub struct AddressAttributeBuilder { /* private fields */ }
Expand description
A builder for AddressAttribute
.
Implementations§
source§impl AddressAttributeBuilder
impl AddressAttributeBuilder
sourcepub fn set_public_ip(self, input: Option<String>) -> Self
pub fn set_public_ip(self, input: Option<String>) -> Self
The public IP address.
sourcepub fn get_public_ip(&self) -> &Option<String>
pub fn get_public_ip(&self) -> &Option<String>
The public IP address.
sourcepub fn allocation_id(self, input: impl Into<String>) -> Self
pub fn allocation_id(self, input: impl Into<String>) -> Self
\[EC2-VPC\] The allocation ID.
sourcepub fn set_allocation_id(self, input: Option<String>) -> Self
pub fn set_allocation_id(self, input: Option<String>) -> Self
\[EC2-VPC\] The allocation ID.
sourcepub fn get_allocation_id(&self) -> &Option<String>
pub fn get_allocation_id(&self) -> &Option<String>
\[EC2-VPC\] The allocation ID.
sourcepub fn ptr_record(self, input: impl Into<String>) -> Self
pub fn ptr_record(self, input: impl Into<String>) -> Self
The pointer (PTR) record for the IP address.
sourcepub fn set_ptr_record(self, input: Option<String>) -> Self
pub fn set_ptr_record(self, input: Option<String>) -> Self
The pointer (PTR) record for the IP address.
sourcepub fn get_ptr_record(&self) -> &Option<String>
pub fn get_ptr_record(&self) -> &Option<String>
The pointer (PTR) record for the IP address.
sourcepub fn ptr_record_update(self, input: PtrUpdateStatus) -> Self
pub fn ptr_record_update(self, input: PtrUpdateStatus) -> Self
The updated PTR record for the IP address.
sourcepub fn set_ptr_record_update(self, input: Option<PtrUpdateStatus>) -> Self
pub fn set_ptr_record_update(self, input: Option<PtrUpdateStatus>) -> Self
The updated PTR record for the IP address.
sourcepub fn get_ptr_record_update(&self) -> &Option<PtrUpdateStatus>
pub fn get_ptr_record_update(&self) -> &Option<PtrUpdateStatus>
The updated PTR record for the IP address.
sourcepub fn build(self) -> AddressAttribute
pub fn build(self) -> AddressAttribute
Consumes the builder and constructs a AddressAttribute
.
Trait Implementations§
source§impl Clone for AddressAttributeBuilder
impl Clone for AddressAttributeBuilder
source§fn clone(&self) -> AddressAttributeBuilder
fn clone(&self) -> AddressAttributeBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AddressAttributeBuilder
impl Debug for AddressAttributeBuilder
source§impl Default for AddressAttributeBuilder
impl Default for AddressAttributeBuilder
source§fn default() -> AddressAttributeBuilder
fn default() -> AddressAttributeBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AddressAttributeBuilder
impl PartialEq for AddressAttributeBuilder
source§fn eq(&self, other: &AddressAttributeBuilder) -> bool
fn eq(&self, other: &AddressAttributeBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AddressAttributeBuilder
Auto Trait Implementations§
impl Freeze for AddressAttributeBuilder
impl RefUnwindSafe for AddressAttributeBuilder
impl Send for AddressAttributeBuilder
impl Sync for AddressAttributeBuilder
impl Unpin for AddressAttributeBuilder
impl UnwindSafe for AddressAttributeBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.