#[non_exhaustive]pub struct FailedCreateSimulationJobRequestBuilder { /* private fields */ }Expand description
A builder for FailedCreateSimulationJobRequest.
Implementations§
source§impl FailedCreateSimulationJobRequestBuilder
impl FailedCreateSimulationJobRequestBuilder
sourcepub fn request(self, input: SimulationJobRequest) -> Self
pub fn request(self, input: SimulationJobRequest) -> Self
The simulation job request.
sourcepub fn set_request(self, input: Option<SimulationJobRequest>) -> Self
pub fn set_request(self, input: Option<SimulationJobRequest>) -> Self
The simulation job request.
sourcepub fn get_request(&self) -> &Option<SimulationJobRequest>
pub fn get_request(&self) -> &Option<SimulationJobRequest>
The simulation job request.
sourcepub fn failure_reason(self, input: impl Into<String>) -> Self
pub fn failure_reason(self, input: impl Into<String>) -> Self
The failure reason of the simulation job request.
sourcepub fn set_failure_reason(self, input: Option<String>) -> Self
pub fn set_failure_reason(self, input: Option<String>) -> Self
The failure reason of the simulation job request.
sourcepub fn get_failure_reason(&self) -> &Option<String>
pub fn get_failure_reason(&self) -> &Option<String>
The failure reason of the simulation job request.
sourcepub fn failure_code(self, input: SimulationJobErrorCode) -> Self
pub fn failure_code(self, input: SimulationJobErrorCode) -> Self
The failure code.
sourcepub fn set_failure_code(self, input: Option<SimulationJobErrorCode>) -> Self
pub fn set_failure_code(self, input: Option<SimulationJobErrorCode>) -> Self
The failure code.
sourcepub fn get_failure_code(&self) -> &Option<SimulationJobErrorCode>
pub fn get_failure_code(&self) -> &Option<SimulationJobErrorCode>
The failure code.
sourcepub fn failed_at(self, input: DateTime) -> Self
pub fn failed_at(self, input: DateTime) -> Self
The time, in milliseconds since the epoch, when the simulation job batch failed.
sourcepub fn set_failed_at(self, input: Option<DateTime>) -> Self
pub fn set_failed_at(self, input: Option<DateTime>) -> Self
The time, in milliseconds since the epoch, when the simulation job batch failed.
sourcepub fn get_failed_at(&self) -> &Option<DateTime>
pub fn get_failed_at(&self) -> &Option<DateTime>
The time, in milliseconds since the epoch, when the simulation job batch failed.
sourcepub fn build(self) -> FailedCreateSimulationJobRequest
pub fn build(self) -> FailedCreateSimulationJobRequest
Consumes the builder and constructs a FailedCreateSimulationJobRequest.
Trait Implementations§
source§impl Clone for FailedCreateSimulationJobRequestBuilder
impl Clone for FailedCreateSimulationJobRequestBuilder
source§fn clone(&self) -> FailedCreateSimulationJobRequestBuilder
fn clone(&self) -> FailedCreateSimulationJobRequestBuilder
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 Default for FailedCreateSimulationJobRequestBuilder
impl Default for FailedCreateSimulationJobRequestBuilder
source§fn default() -> FailedCreateSimulationJobRequestBuilder
fn default() -> FailedCreateSimulationJobRequestBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for FailedCreateSimulationJobRequestBuilder
impl PartialEq for FailedCreateSimulationJobRequestBuilder
source§fn eq(&self, other: &FailedCreateSimulationJobRequestBuilder) -> bool
fn eq(&self, other: &FailedCreateSimulationJobRequestBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for FailedCreateSimulationJobRequestBuilder
Auto Trait Implementations§
impl RefUnwindSafe for FailedCreateSimulationJobRequestBuilder
impl Send for FailedCreateSimulationJobRequestBuilder
impl Sync for FailedCreateSimulationJobRequestBuilder
impl Unpin for FailedCreateSimulationJobRequestBuilder
impl UnwindSafe for FailedCreateSimulationJobRequestBuilder
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>
Creates a shared type from an unshared type.