Struct aws_sdk_ec2::types::builders::CoipPoolBuilder
source · #[non_exhaustive]pub struct CoipPoolBuilder { /* private fields */ }
Expand description
A builder for CoipPool
.
Implementations§
source§impl CoipPoolBuilder
impl CoipPoolBuilder
sourcepub fn set_pool_id(self, input: Option<String>) -> Self
pub fn set_pool_id(self, input: Option<String>) -> Self
The ID of the address pool.
sourcepub fn get_pool_id(&self) -> &Option<String>
pub fn get_pool_id(&self) -> &Option<String>
The ID of the address pool.
sourcepub fn pool_cidrs(self, input: impl Into<String>) -> Self
pub fn pool_cidrs(self, input: impl Into<String>) -> Self
Appends an item to pool_cidrs
.
To override the contents of this collection use set_pool_cidrs
.
The address ranges of the address pool.
sourcepub fn set_pool_cidrs(self, input: Option<Vec<String>>) -> Self
pub fn set_pool_cidrs(self, input: Option<Vec<String>>) -> Self
The address ranges of the address pool.
sourcepub fn get_pool_cidrs(&self) -> &Option<Vec<String>>
pub fn get_pool_cidrs(&self) -> &Option<Vec<String>>
The address ranges of the address pool.
sourcepub fn local_gateway_route_table_id(self, input: impl Into<String>) -> Self
pub fn local_gateway_route_table_id(self, input: impl Into<String>) -> Self
The ID of the local gateway route table.
sourcepub fn set_local_gateway_route_table_id(self, input: Option<String>) -> Self
pub fn set_local_gateway_route_table_id(self, input: Option<String>) -> Self
The ID of the local gateway route table.
sourcepub fn get_local_gateway_route_table_id(&self) -> &Option<String>
pub fn get_local_gateway_route_table_id(&self) -> &Option<String>
The ID of the local gateway route table.
The tags.
The tags.
sourcepub fn set_pool_arn(self, input: Option<String>) -> Self
pub fn set_pool_arn(self, input: Option<String>) -> Self
The ARN of the address pool.
sourcepub fn get_pool_arn(&self) -> &Option<String>
pub fn get_pool_arn(&self) -> &Option<String>
The ARN of the address pool.
Trait Implementations§
source§impl Clone for CoipPoolBuilder
impl Clone for CoipPoolBuilder
source§fn clone(&self) -> CoipPoolBuilder
fn clone(&self) -> CoipPoolBuilder
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 CoipPoolBuilder
impl Debug for CoipPoolBuilder
source§impl Default for CoipPoolBuilder
impl Default for CoipPoolBuilder
source§fn default() -> CoipPoolBuilder
fn default() -> CoipPoolBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CoipPoolBuilder
impl PartialEq for CoipPoolBuilder
source§fn eq(&self, other: &CoipPoolBuilder) -> bool
fn eq(&self, other: &CoipPoolBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CoipPoolBuilder
Auto Trait Implementations§
impl Freeze for CoipPoolBuilder
impl RefUnwindSafe for CoipPoolBuilder
impl Send for CoipPoolBuilder
impl Sync for CoipPoolBuilder
impl Unpin for CoipPoolBuilder
impl UnwindSafe for CoipPoolBuilder
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.