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 ==.impl StructuralPartialEq for StartSimulationJobBatchInputBuilder
Auto Trait Implementations§
impl Freeze for StartSimulationJobBatchInputBuilder
impl RefUnwindSafe for StartSimulationJobBatchInputBuilder
impl Send for StartSimulationJobBatchInputBuilder
impl Sync for StartSimulationJobBatchInputBuilder
impl Unpin for StartSimulationJobBatchInputBuilder
impl UnwindSafe for StartSimulationJobBatchInputBuilder
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