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<AddressAttributeBuilder> for AddressAttributeBuilder
impl PartialEq<AddressAttributeBuilder> 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 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