Struct aws_sdk_ssmsap::types::builders::IpAddressMemberBuilder
source · #[non_exhaustive]pub struct IpAddressMemberBuilder { /* private fields */ }Expand description
A builder for IpAddressMember.
Implementations§
source§impl IpAddressMemberBuilder
impl IpAddressMemberBuilder
sourcepub fn ip_address(self, input: impl Into<String>) -> Self
pub fn ip_address(self, input: impl Into<String>) -> Self
The IP address.
sourcepub fn set_ip_address(self, input: Option<String>) -> Self
pub fn set_ip_address(self, input: Option<String>) -> Self
The IP address.
sourcepub fn get_ip_address(&self) -> &Option<String>
pub fn get_ip_address(&self) -> &Option<String>
The IP address.
sourcepub fn set_primary(self, input: Option<bool>) -> Self
pub fn set_primary(self, input: Option<bool>) -> Self
The primary IP address.
sourcepub fn get_primary(&self) -> &Option<bool>
pub fn get_primary(&self) -> &Option<bool>
The primary IP address.
sourcepub fn allocation_type(self, input: AllocationType) -> Self
pub fn allocation_type(self, input: AllocationType) -> Self
The type of allocation for the IP address.
sourcepub fn set_allocation_type(self, input: Option<AllocationType>) -> Self
pub fn set_allocation_type(self, input: Option<AllocationType>) -> Self
The type of allocation for the IP address.
sourcepub fn get_allocation_type(&self) -> &Option<AllocationType>
pub fn get_allocation_type(&self) -> &Option<AllocationType>
The type of allocation for the IP address.
sourcepub fn build(self) -> IpAddressMember
pub fn build(self) -> IpAddressMember
Consumes the builder and constructs a IpAddressMember.
Trait Implementations§
source§impl Clone for IpAddressMemberBuilder
impl Clone for IpAddressMemberBuilder
source§fn clone(&self) -> IpAddressMemberBuilder
fn clone(&self) -> IpAddressMemberBuilder
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 IpAddressMemberBuilder
impl Debug for IpAddressMemberBuilder
source§impl Default for IpAddressMemberBuilder
impl Default for IpAddressMemberBuilder
source§fn default() -> IpAddressMemberBuilder
fn default() -> IpAddressMemberBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for IpAddressMemberBuilder
impl PartialEq for IpAddressMemberBuilder
source§fn eq(&self, other: &IpAddressMemberBuilder) -> bool
fn eq(&self, other: &IpAddressMemberBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for IpAddressMemberBuilder
Auto Trait Implementations§
impl Freeze for IpAddressMemberBuilder
impl RefUnwindSafe for IpAddressMemberBuilder
impl Send for IpAddressMemberBuilder
impl Sync for IpAddressMemberBuilder
impl Unpin for IpAddressMemberBuilder
impl UnwindSafe for IpAddressMemberBuilder
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.