#[non_exhaustive]pub struct SimulationJobBatchSummaryBuilder { /* private fields */ }Expand description
A builder for SimulationJobBatchSummary.
Implementations§
source§impl SimulationJobBatchSummaryBuilder
impl SimulationJobBatchSummaryBuilder
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the batch.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the batch.
sourcepub fn last_updated_at(self, input: DateTime) -> Self
pub fn last_updated_at(self, input: DateTime) -> Self
The time, in milliseconds since the epoch, when the simulation job batch was last updated.
sourcepub fn set_last_updated_at(self, input: Option<DateTime>) -> Self
pub fn set_last_updated_at(self, input: Option<DateTime>) -> Self
The time, in milliseconds since the epoch, when the simulation job batch was last updated.
sourcepub fn get_last_updated_at(&self) -> &Option<DateTime>
pub fn get_last_updated_at(&self) -> &Option<DateTime>
The time, in milliseconds since the epoch, when the simulation job batch was last updated.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The time, in milliseconds since the epoch, when the simulation job batch was created.
sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
The time, in milliseconds since the epoch, when the simulation job batch was created.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
The time, in milliseconds since the epoch, when the simulation job batch was created.
sourcepub fn status(self, input: SimulationJobBatchStatus) -> Self
pub fn status(self, input: SimulationJobBatchStatus) -> Self
The status of the simulation job batch.
- Pending
-
The simulation job batch request is pending.
- InProgress
-
The simulation job batch is in progress.
- Failed
-
The simulation job batch failed. One or more simulation job requests could not be completed due to an internal failure (like
InternalServiceError). SeefailureCodeandfailureReasonfor more information. - Completed
-
The simulation batch job completed. A batch is complete when (1) there are no pending simulation job requests in the batch and none of the failed simulation job requests are due to
InternalServiceErrorand (2) when all created simulation jobs have reached a terminal state (for example,CompletedorFailed). - Canceled
-
The simulation batch job was cancelled.
- Canceling
-
The simulation batch job is being cancelled.
- Completing
-
The simulation batch job is completing.
- TimingOut
-
The simulation job batch is timing out.
If a batch timing out, and there are pending requests that were failing due to an internal failure (like
InternalServiceError), the batch status will beFailed. If there are no such failing request, the batch status will beTimedOut. - TimedOut
-
The simulation batch job timed out.
sourcepub fn set_status(self, input: Option<SimulationJobBatchStatus>) -> Self
pub fn set_status(self, input: Option<SimulationJobBatchStatus>) -> Self
The status of the simulation job batch.
- Pending
-
The simulation job batch request is pending.
- InProgress
-
The simulation job batch is in progress.
- Failed
-
The simulation job batch failed. One or more simulation job requests could not be completed due to an internal failure (like
InternalServiceError). SeefailureCodeandfailureReasonfor more information. - Completed
-
The simulation batch job completed. A batch is complete when (1) there are no pending simulation job requests in the batch and none of the failed simulation job requests are due to
InternalServiceErrorand (2) when all created simulation jobs have reached a terminal state (for example,CompletedorFailed). - Canceled
-
The simulation batch job was cancelled.
- Canceling
-
The simulation batch job is being cancelled.
- Completing
-
The simulation batch job is completing.
- TimingOut
-
The simulation job batch is timing out.
If a batch timing out, and there are pending requests that were failing due to an internal failure (like
InternalServiceError), the batch status will beFailed. If there are no such failing request, the batch status will beTimedOut. - TimedOut
-
The simulation batch job timed out.
sourcepub fn get_status(&self) -> &Option<SimulationJobBatchStatus>
pub fn get_status(&self) -> &Option<SimulationJobBatchStatus>
The status of the simulation job batch.
- Pending
-
The simulation job batch request is pending.
- InProgress
-
The simulation job batch is in progress.
- Failed
-
The simulation job batch failed. One or more simulation job requests could not be completed due to an internal failure (like
InternalServiceError). SeefailureCodeandfailureReasonfor more information. - Completed
-
The simulation batch job completed. A batch is complete when (1) there are no pending simulation job requests in the batch and none of the failed simulation job requests are due to
InternalServiceErrorand (2) when all created simulation jobs have reached a terminal state (for example,CompletedorFailed). - Canceled
-
The simulation batch job was cancelled.
- Canceling
-
The simulation batch job is being cancelled.
- Completing
-
The simulation batch job is completing.
- TimingOut
-
The simulation job batch is timing out.
If a batch timing out, and there are pending requests that were failing due to an internal failure (like
InternalServiceError), the batch status will beFailed. If there are no such failing request, the batch status will beTimedOut. - TimedOut
-
The simulation batch job timed out.
sourcepub fn failed_request_count(self, input: i32) -> Self
pub fn failed_request_count(self, input: i32) -> Self
The number of failed simulation job requests.
sourcepub fn set_failed_request_count(self, input: Option<i32>) -> Self
pub fn set_failed_request_count(self, input: Option<i32>) -> Self
The number of failed simulation job requests.
sourcepub fn get_failed_request_count(&self) -> &Option<i32>
pub fn get_failed_request_count(&self) -> &Option<i32>
The number of failed simulation job requests.
sourcepub fn pending_request_count(self, input: i32) -> Self
pub fn pending_request_count(self, input: i32) -> Self
The number of pending simulation job requests.
sourcepub fn set_pending_request_count(self, input: Option<i32>) -> Self
pub fn set_pending_request_count(self, input: Option<i32>) -> Self
The number of pending simulation job requests.
sourcepub fn get_pending_request_count(&self) -> &Option<i32>
pub fn get_pending_request_count(&self) -> &Option<i32>
The number of pending simulation job requests.
sourcepub fn created_request_count(self, input: i32) -> Self
pub fn created_request_count(self, input: i32) -> Self
The number of created simulation job requests.
sourcepub fn set_created_request_count(self, input: Option<i32>) -> Self
pub fn set_created_request_count(self, input: Option<i32>) -> Self
The number of created simulation job requests.
sourcepub fn get_created_request_count(&self) -> &Option<i32>
pub fn get_created_request_count(&self) -> &Option<i32>
The number of created simulation job requests.
sourcepub fn build(self) -> SimulationJobBatchSummary
pub fn build(self) -> SimulationJobBatchSummary
Consumes the builder and constructs a SimulationJobBatchSummary.
Trait Implementations§
source§impl Clone for SimulationJobBatchSummaryBuilder
impl Clone for SimulationJobBatchSummaryBuilder
source§fn clone(&self) -> SimulationJobBatchSummaryBuilder
fn clone(&self) -> SimulationJobBatchSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for SimulationJobBatchSummaryBuilder
impl Default for SimulationJobBatchSummaryBuilder
source§fn default() -> SimulationJobBatchSummaryBuilder
fn default() -> SimulationJobBatchSummaryBuilder
source§impl PartialEq for SimulationJobBatchSummaryBuilder
impl PartialEq for SimulationJobBatchSummaryBuilder
source§fn eq(&self, other: &SimulationJobBatchSummaryBuilder) -> bool
fn eq(&self, other: &SimulationJobBatchSummaryBuilder) -> bool
self and other values to be equal, and is used
by ==.