#[non_exhaustive]pub struct DnsRecordCreationStateBuilder { /* private fields */ }
Expand description
A builder for DnsRecordCreationState
.
Implementations§
source§impl DnsRecordCreationStateBuilder
impl DnsRecordCreationStateBuilder
sourcepub fn code(self, input: DnsRecordCreationStateCode) -> Self
pub fn code(self, input: DnsRecordCreationStateCode) -> Self
The status code for the automated DNS record creation.
Following are the possible values:
-
SUCCEEDED
- The validation records were successfully added to the domain. -
STARTED
- The automatic DNS record creation has started. -
FAILED
- The validation records failed to be added to the domain.
sourcepub fn set_code(self, input: Option<DnsRecordCreationStateCode>) -> Self
pub fn set_code(self, input: Option<DnsRecordCreationStateCode>) -> Self
The status code for the automated DNS record creation.
Following are the possible values:
-
SUCCEEDED
- The validation records were successfully added to the domain. -
STARTED
- The automatic DNS record creation has started. -
FAILED
- The validation records failed to be added to the domain.
sourcepub fn get_code(&self) -> &Option<DnsRecordCreationStateCode>
pub fn get_code(&self) -> &Option<DnsRecordCreationStateCode>
The status code for the automated DNS record creation.
Following are the possible values:
-
SUCCEEDED
- The validation records were successfully added to the domain. -
STARTED
- The automatic DNS record creation has started. -
FAILED
- The validation records failed to be added to the domain.
sourcepub fn message(self, input: impl Into<String>) -> Self
pub fn message(self, input: impl Into<String>) -> Self
The message that describes the reason for the status code.
sourcepub fn set_message(self, input: Option<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
The message that describes the reason for the status code.
sourcepub fn get_message(&self) -> &Option<String>
pub fn get_message(&self) -> &Option<String>
The message that describes the reason for the status code.
sourcepub fn build(self) -> DnsRecordCreationState
pub fn build(self) -> DnsRecordCreationState
Consumes the builder and constructs a DnsRecordCreationState
.
Trait Implementations§
source§impl Clone for DnsRecordCreationStateBuilder
impl Clone for DnsRecordCreationStateBuilder
source§fn clone(&self) -> DnsRecordCreationStateBuilder
fn clone(&self) -> DnsRecordCreationStateBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DnsRecordCreationStateBuilder
impl Default for DnsRecordCreationStateBuilder
source§fn default() -> DnsRecordCreationStateBuilder
fn default() -> DnsRecordCreationStateBuilder
source§impl PartialEq for DnsRecordCreationStateBuilder
impl PartialEq for DnsRecordCreationStateBuilder
source§fn eq(&self, other: &DnsRecordCreationStateBuilder) -> bool
fn eq(&self, other: &DnsRecordCreationStateBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DnsRecordCreationStateBuilder
Auto Trait Implementations§
impl Freeze for DnsRecordCreationStateBuilder
impl RefUnwindSafe for DnsRecordCreationStateBuilder
impl Send for DnsRecordCreationStateBuilder
impl Sync for DnsRecordCreationStateBuilder
impl Unpin for DnsRecordCreationStateBuilder
impl UnwindSafe for DnsRecordCreationStateBuilder
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