#[non_exhaustive]pub struct CancelJobInputBuilder { /* private fields */ }
Expand description
A builder for CancelJobInput
.
Implementations§
source§impl CancelJobInputBuilder
impl CancelJobInputBuilder
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The identifier of the job that you want to cancel.
To get a list of the jobs (including their jobId
) that have a status of Submitted
, use the ListJobsByStatus
API action.
sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The identifier of the job that you want to cancel.
To get a list of the jobs (including their jobId
) that have a status of Submitted
, use the ListJobsByStatus
API action.
sourcepub fn build(self) -> Result<CancelJobInput, BuildError>
pub fn build(self) -> Result<CancelJobInput, BuildError>
Consumes the builder and constructs a CancelJobInput
.
Trait Implementations§
source§impl Clone for CancelJobInputBuilder
impl Clone for CancelJobInputBuilder
source§fn clone(&self) -> CancelJobInputBuilder
fn clone(&self) -> CancelJobInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CancelJobInputBuilder
impl Debug for CancelJobInputBuilder
source§impl Default for CancelJobInputBuilder
impl Default for CancelJobInputBuilder
source§fn default() -> CancelJobInputBuilder
fn default() -> CancelJobInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<CancelJobInputBuilder> for CancelJobInputBuilder
impl PartialEq<CancelJobInputBuilder> for CancelJobInputBuilder
source§fn eq(&self, other: &CancelJobInputBuilder) -> bool
fn eq(&self, other: &CancelJobInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.