Interface DescribeSimulationJobBatchResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeSimulationJobBatchResponse.Builder,DescribeSimulationJobBatchResponse>,RoboMakerResponse.Builder,SdkBuilder<DescribeSimulationJobBatchResponse.Builder,DescribeSimulationJobBatchResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeSimulationJobBatchResponse
public static interface DescribeSimulationJobBatchResponse.Builder extends RoboMakerResponse.Builder, SdkPojo, CopyableBuilder<DescribeSimulationJobBatchResponse.Builder,DescribeSimulationJobBatchResponse>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.robomaker.model.RoboMakerResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
arn
DescribeSimulationJobBatchResponse.Builder arn(String arn)
The Amazon Resource Name (ARN) of the batch.
- Parameters:
arn- The Amazon Resource Name (ARN) of the batch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
DescribeSimulationJobBatchResponse.Builder status(String status)
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.
- Parameters:
status- 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SimulationJobBatchStatus,SimulationJobBatchStatus
-
status
DescribeSimulationJobBatchResponse.Builder status(SimulationJobBatchStatus status)
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.
- Parameters:
status- 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SimulationJobBatchStatus,SimulationJobBatchStatus
-
lastUpdatedAt
DescribeSimulationJobBatchResponse.Builder lastUpdatedAt(Instant lastUpdatedAt)
The time, in milliseconds since the epoch, when the simulation job batch was last updated.
- Parameters:
lastUpdatedAt- The time, in milliseconds since the epoch, when the simulation job batch was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
DescribeSimulationJobBatchResponse.Builder createdAt(Instant createdAt)
The time, in milliseconds since the epoch, when the simulation job batch was created.
- Parameters:
createdAt- The time, in milliseconds since the epoch, when the simulation job batch was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientRequestToken
DescribeSimulationJobBatchResponse.Builder clientRequestToken(String clientRequestToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
- Parameters:
clientRequestToken- Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
batchPolicy
DescribeSimulationJobBatchResponse.Builder batchPolicy(BatchPolicy batchPolicy)
The batch policy.
- Parameters:
batchPolicy- The batch policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
batchPolicy
default DescribeSimulationJobBatchResponse.Builder batchPolicy(Consumer<BatchPolicy.Builder> batchPolicy)
The batch policy.
This is a convenience method that creates an instance of theBatchPolicy.Builderavoiding the need to create one manually viaBatchPolicy.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobatchPolicy(BatchPolicy).- Parameters:
batchPolicy- a consumer that will call methods onBatchPolicy.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
batchPolicy(BatchPolicy)
-
failureCode
DescribeSimulationJobBatchResponse.Builder failureCode(String failureCode)
The failure code of the simulation job batch.
- Parameters:
failureCode- The failure code of the simulation job batch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SimulationJobBatchErrorCode,SimulationJobBatchErrorCode
-
failureCode
DescribeSimulationJobBatchResponse.Builder failureCode(SimulationJobBatchErrorCode failureCode)
The failure code of the simulation job batch.
- Parameters:
failureCode- The failure code of the simulation job batch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SimulationJobBatchErrorCode,SimulationJobBatchErrorCode
-
failureReason
DescribeSimulationJobBatchResponse.Builder failureReason(String failureReason)
The reason the simulation job batch failed.
- Parameters:
failureReason- The reason the simulation job batch failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failedRequests
DescribeSimulationJobBatchResponse.Builder failedRequests(Collection<FailedCreateSimulationJobRequest> failedRequests)
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.
- Parameters:
failedRequests- 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failedRequests
DescribeSimulationJobBatchResponse.Builder failedRequests(FailedCreateSimulationJobRequest... failedRequests)
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.
- Parameters:
failedRequests- 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failedRequests
DescribeSimulationJobBatchResponse.Builder failedRequests(Consumer<FailedCreateSimulationJobRequest.Builder>... failedRequests)
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.
This is a convenience method that creates an instance of theFailedCreateSimulationJobRequest.Builderavoiding the need to create one manually viaFailedCreateSimulationJobRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#failedRequests(List.) - Parameters:
failedRequests- a consumer that will call methods onFailedCreateSimulationJobRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#failedRequests(java.util.Collection)
-
pendingRequests
DescribeSimulationJobBatchResponse.Builder pendingRequests(Collection<SimulationJobRequest> pendingRequests)
A list of pending simulation job requests. These requests have not yet been created into simulation jobs.
- Parameters:
pendingRequests- A list of pending simulation job requests. These requests have not yet been created into simulation jobs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pendingRequests
DescribeSimulationJobBatchResponse.Builder pendingRequests(SimulationJobRequest... pendingRequests)
A list of pending simulation job requests. These requests have not yet been created into simulation jobs.
- Parameters:
pendingRequests- A list of pending simulation job requests. These requests have not yet been created into simulation jobs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pendingRequests
DescribeSimulationJobBatchResponse.Builder pendingRequests(Consumer<SimulationJobRequest.Builder>... pendingRequests)
A list of pending simulation job requests. These requests have not yet been created into simulation jobs.
This is a convenience method that creates an instance of theSimulationJobRequest.Builderavoiding the need to create one manually viaSimulationJobRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#pendingRequests(List.) - Parameters:
pendingRequests- a consumer that will call methods onSimulationJobRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#pendingRequests(java.util.Collection)
-
createdRequests
DescribeSimulationJobBatchResponse.Builder createdRequests(Collection<SimulationJobSummary> createdRequests)
A list of created simulation job summaries.
- Parameters:
createdRequests- A list of created simulation job summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdRequests
DescribeSimulationJobBatchResponse.Builder createdRequests(SimulationJobSummary... createdRequests)
A list of created simulation job summaries.
- Parameters:
createdRequests- A list of created simulation job summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdRequests
DescribeSimulationJobBatchResponse.Builder createdRequests(Consumer<SimulationJobSummary.Builder>... createdRequests)
A list of created simulation job summaries.
This is a convenience method that creates an instance of theSimulationJobSummary.Builderavoiding the need to create one manually viaSimulationJobSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#createdRequests(List.) - Parameters:
createdRequests- a consumer that will call methods onSimulationJobSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#createdRequests(java.util.Collection)
-
tags
DescribeSimulationJobBatchResponse.Builder tags(Map<String,String> tags)
A map that contains tag keys and tag values that are attached to the simulation job batch.
- Parameters:
tags- A map that contains tag keys and tag values that are attached to the simulation job batch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-