Struct aws_sdk_robomaker::operation::start_simulation_job_batch::builders::StartSimulationJobBatchFluentBuilder
source · pub struct StartSimulationJobBatchFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to StartSimulationJobBatch.
Starts a new simulation job batch. The batch is defined using one or more SimulationJobRequest objects.
Implementations§
source§impl StartSimulationJobBatchFluentBuilder
impl StartSimulationJobBatchFluentBuilder
sourcepub fn as_input(&self) -> &StartSimulationJobBatchInputBuilder
pub fn as_input(&self) -> &StartSimulationJobBatchInputBuilder
Access the StartSimulationJobBatch as a reference.
sourcepub async fn send(
self
) -> Result<StartSimulationJobBatchOutput, SdkError<StartSimulationJobBatchError, HttpResponse>>
pub async fn send( self ) -> Result<StartSimulationJobBatchOutput, SdkError<StartSimulationJobBatchError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<StartSimulationJobBatchOutput, StartSimulationJobBatchError, Self>
pub fn customize( self ) -> CustomizableOperation<StartSimulationJobBatchOutput, StartSimulationJobBatchError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 create_simulation_job_requests(self, input: SimulationJobRequest) -> Self
pub fn create_simulation_job_requests(self, input: SimulationJobRequest) -> Self
Appends an item to createSimulationJobRequests.
To override the contents of this collection use set_create_simulation_job_requests.
A list of simulation job requests to create in the batch.
sourcepub fn set_create_simulation_job_requests(
self,
input: Option<Vec<SimulationJobRequest>>
) -> Self
pub fn set_create_simulation_job_requests( self, input: Option<Vec<SimulationJobRequest>> ) -> Self
A list of simulation job requests to create in the batch.
sourcepub fn get_create_simulation_job_requests(
&self
) -> &Option<Vec<SimulationJobRequest>>
pub fn get_create_simulation_job_requests( &self ) -> &Option<Vec<SimulationJobRequest>>
A list of simulation job requests to create in the batch.
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 deployment job batch.
A map that contains tag keys and tag values that are attached to the deployment job batch.
A map that contains tag keys and tag values that are attached to the deployment job batch.
Trait Implementations§
source§impl Clone for StartSimulationJobBatchFluentBuilder
impl Clone for StartSimulationJobBatchFluentBuilder
source§fn clone(&self) -> StartSimulationJobBatchFluentBuilder
fn clone(&self) -> StartSimulationJobBatchFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for StartSimulationJobBatchFluentBuilder
impl !RefUnwindSafe for StartSimulationJobBatchFluentBuilder
impl Send for StartSimulationJobBatchFluentBuilder
impl Sync for StartSimulationJobBatchFluentBuilder
impl Unpin for StartSimulationJobBatchFluentBuilder
impl !UnwindSafe for StartSimulationJobBatchFluentBuilder
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