Struct aws_sdk_robomaker::operation::describe_simulation_job_batch::builders::DescribeSimulationJobBatchOutputBuilder
source · #[non_exhaustive]pub struct DescribeSimulationJobBatchOutputBuilder { /* private fields */ }Expand description
A builder for DescribeSimulationJobBatchOutput.
Implementations§
source§impl DescribeSimulationJobBatchOutputBuilder
impl DescribeSimulationJobBatchOutputBuilder
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 status(self, input: SimulationJobBatchStatus) -> Self
pub fn status(self, input: SimulationJobBatchStatus) -> Self
The status of the 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 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 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 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 client_request_token(self, input: impl Into<String>) -> Self
pub fn client_request_token(self, input: impl Into<String>) -> Self
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
sourcepub fn set_client_request_token(self, input: Option<String>) -> Self
pub fn set_client_request_token(self, input: Option<String>) -> Self
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
sourcepub fn get_client_request_token(&self) -> &Option<String>
pub fn get_client_request_token(&self) -> &Option<String>
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
sourcepub fn batch_policy(self, input: BatchPolicy) -> Self
pub fn batch_policy(self, input: BatchPolicy) -> Self
The batch policy.
sourcepub fn set_batch_policy(self, input: Option<BatchPolicy>) -> Self
pub fn set_batch_policy(self, input: Option<BatchPolicy>) -> Self
The batch policy.
sourcepub fn get_batch_policy(&self) -> &Option<BatchPolicy>
pub fn get_batch_policy(&self) -> &Option<BatchPolicy>
The batch policy.
sourcepub fn failure_code(self, input: SimulationJobBatchErrorCode) -> Self
pub fn failure_code(self, input: SimulationJobBatchErrorCode) -> Self
The failure code of the simulation job batch.
sourcepub fn set_failure_code(
self,
input: Option<SimulationJobBatchErrorCode>
) -> Self
pub fn set_failure_code( self, input: Option<SimulationJobBatchErrorCode> ) -> Self
The failure code of the simulation job batch.
sourcepub fn get_failure_code(&self) -> &Option<SimulationJobBatchErrorCode>
pub fn get_failure_code(&self) -> &Option<SimulationJobBatchErrorCode>
The failure code of the simulation job batch.
sourcepub fn failure_reason(self, input: impl Into<String>) -> Self
pub fn failure_reason(self, input: impl Into<String>) -> Self
The reason the simulation job batch failed.
sourcepub fn set_failure_reason(self, input: Option<String>) -> Self
pub fn set_failure_reason(self, input: Option<String>) -> Self
The reason the simulation job batch failed.
sourcepub fn get_failure_reason(&self) -> &Option<String>
pub fn get_failure_reason(&self) -> &Option<String>
The reason the simulation job batch failed.
sourcepub fn failed_requests(self, input: FailedCreateSimulationJobRequest) -> Self
pub fn failed_requests(self, input: FailedCreateSimulationJobRequest) -> Self
Appends an item to failed_requests.
To override the contents of this collection use set_failed_requests.
A list of failed create simulation job requests. The request failed to be created into a simulation job. Failed requests do not have a simulation job ID.
sourcepub fn set_failed_requests(
self,
input: Option<Vec<FailedCreateSimulationJobRequest>>
) -> Self
pub fn set_failed_requests( self, input: Option<Vec<FailedCreateSimulationJobRequest>> ) -> Self
A list of failed create simulation job requests. The request failed to be created into a simulation job. Failed requests do not have a simulation job ID.
sourcepub fn get_failed_requests(
&self
) -> &Option<Vec<FailedCreateSimulationJobRequest>>
pub fn get_failed_requests( &self ) -> &Option<Vec<FailedCreateSimulationJobRequest>>
A list of failed create simulation job requests. The request failed to be created into a simulation job. Failed requests do not have a simulation job ID.
sourcepub fn pending_requests(self, input: SimulationJobRequest) -> Self
pub fn pending_requests(self, input: SimulationJobRequest) -> Self
Appends an item to pending_requests.
To override the contents of this collection use set_pending_requests.
A list of pending simulation job requests. These requests have not yet been created into simulation jobs.
sourcepub fn set_pending_requests(
self,
input: Option<Vec<SimulationJobRequest>>
) -> Self
pub fn set_pending_requests( self, input: Option<Vec<SimulationJobRequest>> ) -> Self
A list of pending simulation job requests. These requests have not yet been created into simulation jobs.
sourcepub fn get_pending_requests(&self) -> &Option<Vec<SimulationJobRequest>>
pub fn get_pending_requests(&self) -> &Option<Vec<SimulationJobRequest>>
A list of pending simulation job requests. These requests have not yet been created into simulation jobs.
sourcepub fn created_requests(self, input: SimulationJobSummary) -> Self
pub fn created_requests(self, input: SimulationJobSummary) -> Self
Appends an item to created_requests.
To override the contents of this collection use set_created_requests.
A list of created simulation job summaries.
sourcepub fn set_created_requests(
self,
input: Option<Vec<SimulationJobSummary>>
) -> Self
pub fn set_created_requests( self, input: Option<Vec<SimulationJobSummary>> ) -> Self
A list of created simulation job summaries.
sourcepub fn get_created_requests(&self) -> &Option<Vec<SimulationJobSummary>>
pub fn get_created_requests(&self) -> &Option<Vec<SimulationJobSummary>>
A list of created simulation job summaries.
Adds a key-value pair to tags.
To override the contents of this collection use set_tags.
A map that contains tag keys and tag values that are attached to the simulation job batch.
A map that contains tag keys and tag values that are attached to the simulation job batch.
A map that contains tag keys and tag values that are attached to the simulation job batch.
sourcepub fn build(self) -> DescribeSimulationJobBatchOutput
pub fn build(self) -> DescribeSimulationJobBatchOutput
Consumes the builder and constructs a DescribeSimulationJobBatchOutput.
Trait Implementations§
source§impl Clone for DescribeSimulationJobBatchOutputBuilder
impl Clone for DescribeSimulationJobBatchOutputBuilder
source§fn clone(&self) -> DescribeSimulationJobBatchOutputBuilder
fn clone(&self) -> DescribeSimulationJobBatchOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for DescribeSimulationJobBatchOutputBuilder
impl Default for DescribeSimulationJobBatchOutputBuilder
source§fn default() -> DescribeSimulationJobBatchOutputBuilder
fn default() -> DescribeSimulationJobBatchOutputBuilder
source§impl PartialEq for DescribeSimulationJobBatchOutputBuilder
impl PartialEq for DescribeSimulationJobBatchOutputBuilder
source§fn eq(&self, other: &DescribeSimulationJobBatchOutputBuilder) -> bool
fn eq(&self, other: &DescribeSimulationJobBatchOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.