Struct aws_sdk_sesv2::types::builders::DedicatedIpPoolBuilder
source · #[non_exhaustive]pub struct DedicatedIpPoolBuilder { /* private fields */ }
Expand description
A builder for DedicatedIpPool
.
Implementations§
source§impl DedicatedIpPoolBuilder
impl DedicatedIpPoolBuilder
sourcepub fn pool_name(self, input: impl Into<String>) -> Self
pub fn pool_name(self, input: impl Into<String>) -> Self
The name of the dedicated IP pool.
This field is required.sourcepub fn set_pool_name(self, input: Option<String>) -> Self
pub fn set_pool_name(self, input: Option<String>) -> Self
The name of the dedicated IP pool.
sourcepub fn get_pool_name(&self) -> &Option<String>
pub fn get_pool_name(&self) -> &Option<String>
The name of the dedicated IP pool.
sourcepub fn scaling_mode(self, input: ScalingMode) -> Self
pub fn scaling_mode(self, input: ScalingMode) -> Self
The type of the dedicated IP pool.
-
STANDARD
– A dedicated IP pool where you can control which IPs are part of the pool. -
MANAGED
– A dedicated IP pool where the reputation and number of IPs are automatically managed by Amazon SES.
sourcepub fn set_scaling_mode(self, input: Option<ScalingMode>) -> Self
pub fn set_scaling_mode(self, input: Option<ScalingMode>) -> Self
The type of the dedicated IP pool.
-
STANDARD
– A dedicated IP pool where you can control which IPs are part of the pool. -
MANAGED
– A dedicated IP pool where the reputation and number of IPs are automatically managed by Amazon SES.
sourcepub fn get_scaling_mode(&self) -> &Option<ScalingMode>
pub fn get_scaling_mode(&self) -> &Option<ScalingMode>
The type of the dedicated IP pool.
-
STANDARD
– A dedicated IP pool where you can control which IPs are part of the pool. -
MANAGED
– A dedicated IP pool where the reputation and number of IPs are automatically managed by Amazon SES.
sourcepub fn build(self) -> Result<DedicatedIpPool, BuildError>
pub fn build(self) -> Result<DedicatedIpPool, BuildError>
Consumes the builder and constructs a DedicatedIpPool
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for DedicatedIpPoolBuilder
impl Clone for DedicatedIpPoolBuilder
source§fn clone(&self) -> DedicatedIpPoolBuilder
fn clone(&self) -> DedicatedIpPoolBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DedicatedIpPoolBuilder
impl Debug for DedicatedIpPoolBuilder
source§impl Default for DedicatedIpPoolBuilder
impl Default for DedicatedIpPoolBuilder
source§fn default() -> DedicatedIpPoolBuilder
fn default() -> DedicatedIpPoolBuilder
source§impl PartialEq for DedicatedIpPoolBuilder
impl PartialEq for DedicatedIpPoolBuilder
source§fn eq(&self, other: &DedicatedIpPoolBuilder) -> bool
fn eq(&self, other: &DedicatedIpPoolBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DedicatedIpPoolBuilder
Auto Trait Implementations§
impl Freeze for DedicatedIpPoolBuilder
impl RefUnwindSafe for DedicatedIpPoolBuilder
impl Send for DedicatedIpPoolBuilder
impl Sync for DedicatedIpPoolBuilder
impl Unpin for DedicatedIpPoolBuilder
impl UnwindSafe for DedicatedIpPoolBuilder
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
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>
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>
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 more