#[non_exhaustive]pub struct DryRunProgressStatusBuilder { /* private fields */ }
Expand description
A builder for DryRunProgressStatus
.
Implementations§
source§impl DryRunProgressStatusBuilder
impl DryRunProgressStatusBuilder
sourcepub fn dry_run_id(self, input: impl Into<String>) -> Self
pub fn dry_run_id(self, input: impl Into<String>) -> Self
The unique identifier of the dry run.
This field is required.sourcepub fn set_dry_run_id(self, input: Option<String>) -> Self
pub fn set_dry_run_id(self, input: Option<String>) -> Self
The unique identifier of the dry run.
sourcepub fn get_dry_run_id(&self) -> &Option<String>
pub fn get_dry_run_id(&self) -> &Option<String>
The unique identifier of the dry run.
sourcepub fn dry_run_status(self, input: impl Into<String>) -> Self
pub fn dry_run_status(self, input: impl Into<String>) -> Self
The current status of the dry run.
This field is required.sourcepub fn set_dry_run_status(self, input: Option<String>) -> Self
pub fn set_dry_run_status(self, input: Option<String>) -> Self
The current status of the dry run.
sourcepub fn get_dry_run_status(&self) -> &Option<String>
pub fn get_dry_run_status(&self) -> &Option<String>
The current status of the dry run.
sourcepub fn creation_date(self, input: impl Into<String>) -> Self
pub fn creation_date(self, input: impl Into<String>) -> Self
The timestamp when the dry run was initiated.
This field is required.sourcepub fn set_creation_date(self, input: Option<String>) -> Self
pub fn set_creation_date(self, input: Option<String>) -> Self
The timestamp when the dry run was initiated.
sourcepub fn get_creation_date(&self) -> &Option<String>
pub fn get_creation_date(&self) -> &Option<String>
The timestamp when the dry run was initiated.
sourcepub fn update_date(self, input: impl Into<String>) -> Self
pub fn update_date(self, input: impl Into<String>) -> Self
The timestamp when the dry run was last updated.
This field is required.sourcepub fn set_update_date(self, input: Option<String>) -> Self
pub fn set_update_date(self, input: Option<String>) -> Self
The timestamp when the dry run was last updated.
sourcepub fn get_update_date(&self) -> &Option<String>
pub fn get_update_date(&self) -> &Option<String>
The timestamp when the dry run was last updated.
sourcepub fn validation_failures(self, input: ValidationFailure) -> Self
pub fn validation_failures(self, input: ValidationFailure) -> Self
Appends an item to validation_failures
.
To override the contents of this collection use set_validation_failures
.
Any validation failures that occurred as a result of the dry run.
sourcepub fn set_validation_failures(
self,
input: Option<Vec<ValidationFailure>>,
) -> Self
pub fn set_validation_failures( self, input: Option<Vec<ValidationFailure>>, ) -> Self
Any validation failures that occurred as a result of the dry run.
sourcepub fn get_validation_failures(&self) -> &Option<Vec<ValidationFailure>>
pub fn get_validation_failures(&self) -> &Option<Vec<ValidationFailure>>
Any validation failures that occurred as a result of the dry run.
sourcepub fn build(self) -> Result<DryRunProgressStatus, BuildError>
pub fn build(self) -> Result<DryRunProgressStatus, BuildError>
Consumes the builder and constructs a DryRunProgressStatus
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for DryRunProgressStatusBuilder
impl Clone for DryRunProgressStatusBuilder
source§fn clone(&self) -> DryRunProgressStatusBuilder
fn clone(&self) -> DryRunProgressStatusBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DryRunProgressStatusBuilder
impl Debug for DryRunProgressStatusBuilder
source§impl Default for DryRunProgressStatusBuilder
impl Default for DryRunProgressStatusBuilder
source§fn default() -> DryRunProgressStatusBuilder
fn default() -> DryRunProgressStatusBuilder
source§impl PartialEq for DryRunProgressStatusBuilder
impl PartialEq for DryRunProgressStatusBuilder
source§fn eq(&self, other: &DryRunProgressStatusBuilder) -> bool
fn eq(&self, other: &DryRunProgressStatusBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DryRunProgressStatusBuilder
Auto Trait Implementations§
impl Freeze for DryRunProgressStatusBuilder
impl RefUnwindSafe for DryRunProgressStatusBuilder
impl Send for DryRunProgressStatusBuilder
impl Sync for DryRunProgressStatusBuilder
impl Unpin for DryRunProgressStatusBuilder
impl UnwindSafe for DryRunProgressStatusBuilder
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