#[non_exhaustive]pub struct CancelJobInputBuilder { /* private fields */ }
Expand description
A builder for CancelJobInput
.
Implementations§
source§impl CancelJobInputBuilder
impl CancelJobInputBuilder
sourcepub fn job_id(self, input: impl Into<String>) -> Self
pub fn job_id(self, input: impl Into<String>) -> Self
The 39-character job ID for the job that you want to cancel, for example JID123e4567-e89b-12d3-a456-426655440000
.
sourcepub fn set_job_id(self, input: Option<String>) -> Self
pub fn set_job_id(self, input: Option<String>) -> Self
The 39-character job ID for the job that you want to cancel, for example JID123e4567-e89b-12d3-a456-426655440000
.
sourcepub fn get_job_id(&self) -> &Option<String>
pub fn get_job_id(&self) -> &Option<String>
The 39-character job ID for the job that you want to cancel, for example JID123e4567-e89b-12d3-a456-426655440000
.
sourcepub fn build(self) -> Result<CancelJobInput, BuildError>
pub fn build(self) -> Result<CancelJobInput, BuildError>
Consumes the builder and constructs a CancelJobInput
.
source§impl CancelJobInputBuilder
impl CancelJobInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CancelJobOutput, SdkError<CancelJobError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CancelJobOutput, SdkError<CancelJobError, HttpResponse>>
Sends a request with this input using the given client.
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 for CancelJobInputBuilder
impl PartialEq 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 ==
.impl StructuralPartialEq for CancelJobInputBuilder
Auto Trait Implementations§
impl Freeze for CancelJobInputBuilder
impl RefUnwindSafe for CancelJobInputBuilder
impl Send for CancelJobInputBuilder
impl Sync for CancelJobInputBuilder
impl Unpin for CancelJobInputBuilder
impl UnwindSafe for CancelJobInputBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.