Struct aws_sdk_ec2::types::builders::IpamOperatingRegionBuilder
source · #[non_exhaustive]pub struct IpamOperatingRegionBuilder { /* private fields */ }
Expand description
A builder for IpamOperatingRegion
.
Implementations§
source§impl IpamOperatingRegionBuilder
impl IpamOperatingRegionBuilder
sourcepub fn region_name(self, input: impl Into<String>) -> Self
pub fn region_name(self, input: impl Into<String>) -> Self
The name of the operating Region.
sourcepub fn set_region_name(self, input: Option<String>) -> Self
pub fn set_region_name(self, input: Option<String>) -> Self
The name of the operating Region.
sourcepub fn get_region_name(&self) -> &Option<String>
pub fn get_region_name(&self) -> &Option<String>
The name of the operating Region.
sourcepub fn build(self) -> IpamOperatingRegion
pub fn build(self) -> IpamOperatingRegion
Consumes the builder and constructs a IpamOperatingRegion
.
Trait Implementations§
source§impl Clone for IpamOperatingRegionBuilder
impl Clone for IpamOperatingRegionBuilder
source§fn clone(&self) -> IpamOperatingRegionBuilder
fn clone(&self) -> IpamOperatingRegionBuilder
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 IpamOperatingRegionBuilder
impl Debug for IpamOperatingRegionBuilder
source§impl Default for IpamOperatingRegionBuilder
impl Default for IpamOperatingRegionBuilder
source§fn default() -> IpamOperatingRegionBuilder
fn default() -> IpamOperatingRegionBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for IpamOperatingRegionBuilder
impl PartialEq for IpamOperatingRegionBuilder
source§fn eq(&self, other: &IpamOperatingRegionBuilder) -> bool
fn eq(&self, other: &IpamOperatingRegionBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for IpamOperatingRegionBuilder
Auto Trait Implementations§
impl Freeze for IpamOperatingRegionBuilder
impl RefUnwindSafe for IpamOperatingRegionBuilder
impl Send for IpamOperatingRegionBuilder
impl Sync for IpamOperatingRegionBuilder
impl Unpin for IpamOperatingRegionBuilder
impl UnwindSafe for IpamOperatingRegionBuilder
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.