Struct aws_sdk_robomaker::operation::start_simulation_job_batch::builders::StartSimulationJobBatchInputBuilder
source · #[non_exhaustive]pub struct StartSimulationJobBatchInputBuilder { /* private fields */ }Expand description
A builder for StartSimulationJobBatchInput.
Implementations§
source§impl StartSimulationJobBatchInputBuilder
impl StartSimulationJobBatchInputBuilder
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 create_simulation_job_requests.
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.
sourcepub fn build(self) -> Result<StartSimulationJobBatchInput, BuildError>
pub fn build(self) -> Result<StartSimulationJobBatchInput, BuildError>
Consumes the builder and constructs a StartSimulationJobBatchInput.
source§impl StartSimulationJobBatchInputBuilder
impl StartSimulationJobBatchInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<StartSimulationJobBatchOutput, SdkError<StartSimulationJobBatchError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<StartSimulationJobBatchOutput, SdkError<StartSimulationJobBatchError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for StartSimulationJobBatchInputBuilder
impl Clone for StartSimulationJobBatchInputBuilder
source§fn clone(&self) -> StartSimulationJobBatchInputBuilder
fn clone(&self) -> StartSimulationJobBatchInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for StartSimulationJobBatchInputBuilder
impl Default for StartSimulationJobBatchInputBuilder
source§fn default() -> StartSimulationJobBatchInputBuilder
fn default() -> StartSimulationJobBatchInputBuilder
source§impl PartialEq for StartSimulationJobBatchInputBuilder
impl PartialEq for StartSimulationJobBatchInputBuilder
source§fn eq(&self, other: &StartSimulationJobBatchInputBuilder) -> bool
fn eq(&self, other: &StartSimulationJobBatchInputBuilder) -> bool
self and other values to be equal, and is used
by ==.