Struct aws_sdk_sesv2::types::builders::DedicatedIpBuilder
source · #[non_exhaustive]pub struct DedicatedIpBuilder { /* private fields */ }
Expand description
A builder for DedicatedIp
.
Implementations§
source§impl DedicatedIpBuilder
impl DedicatedIpBuilder
sourcepub fn warmup_status(self, input: WarmupStatus) -> Self
pub fn warmup_status(self, input: WarmupStatus) -> Self
The warm-up status of a dedicated IP address. The status can have one of the following values:
-
IN_PROGRESS
– The IP address isn't ready to use because the dedicated IP warm-up process is ongoing. -
DONE
– The dedicated IP warm-up process is complete, and the IP address is ready to use.
sourcepub fn set_warmup_status(self, input: Option<WarmupStatus>) -> Self
pub fn set_warmup_status(self, input: Option<WarmupStatus>) -> Self
The warm-up status of a dedicated IP address. The status can have one of the following values:
-
IN_PROGRESS
– The IP address isn't ready to use because the dedicated IP warm-up process is ongoing. -
DONE
– The dedicated IP warm-up process is complete, and the IP address is ready to use.
sourcepub fn get_warmup_status(&self) -> &Option<WarmupStatus>
pub fn get_warmup_status(&self) -> &Option<WarmupStatus>
The warm-up status of a dedicated IP address. The status can have one of the following values:
-
IN_PROGRESS
– The IP address isn't ready to use because the dedicated IP warm-up process is ongoing. -
DONE
– The dedicated IP warm-up process is complete, and the IP address is ready to use.
sourcepub fn warmup_percentage(self, input: i32) -> Self
pub fn warmup_percentage(self, input: i32) -> Self
Indicates how complete the dedicated IP warm-up process is. When this value equals 1, the address has completed the warm-up process and is ready for use.
This field is required.sourcepub fn set_warmup_percentage(self, input: Option<i32>) -> Self
pub fn set_warmup_percentage(self, input: Option<i32>) -> Self
Indicates how complete the dedicated IP warm-up process is. When this value equals 1, the address has completed the warm-up process and is ready for use.
sourcepub fn get_warmup_percentage(&self) -> &Option<i32>
pub fn get_warmup_percentage(&self) -> &Option<i32>
Indicates how complete the dedicated IP warm-up process is. When this value equals 1, the address has completed the warm-up process and is ready for use.
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 that the IP address is associated with.
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 that the IP address is associated with.
sourcepub fn get_pool_name(&self) -> &Option<String>
pub fn get_pool_name(&self) -> &Option<String>
The name of the dedicated IP pool that the IP address is associated with.
sourcepub fn build(self) -> Result<DedicatedIp, BuildError>
pub fn build(self) -> Result<DedicatedIp, BuildError>
Consumes the builder and constructs a DedicatedIp
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for DedicatedIpBuilder
impl Clone for DedicatedIpBuilder
source§fn clone(&self) -> DedicatedIpBuilder
fn clone(&self) -> DedicatedIpBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DedicatedIpBuilder
impl Debug for DedicatedIpBuilder
source§impl Default for DedicatedIpBuilder
impl Default for DedicatedIpBuilder
source§fn default() -> DedicatedIpBuilder
fn default() -> DedicatedIpBuilder
source§impl PartialEq for DedicatedIpBuilder
impl PartialEq for DedicatedIpBuilder
source§fn eq(&self, other: &DedicatedIpBuilder) -> bool
fn eq(&self, other: &DedicatedIpBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DedicatedIpBuilder
Auto Trait Implementations§
impl Freeze for DedicatedIpBuilder
impl RefUnwindSafe for DedicatedIpBuilder
impl Send for DedicatedIpBuilder
impl Sync for DedicatedIpBuilder
impl Unpin for DedicatedIpBuilder
impl UnwindSafe for DedicatedIpBuilder
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