Struct aws_sdk_emrserverless::operation::cancel_job_run::builders::CancelJobRunFluentBuilder
source · pub struct CancelJobRunFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to CancelJobRun.
Cancels a job run.
Implementations§
source§impl CancelJobRunFluentBuilder
impl CancelJobRunFluentBuilder
sourcepub fn as_input(&self) -> &CancelJobRunInputBuilder
pub fn as_input(&self) -> &CancelJobRunInputBuilder
Access the CancelJobRun as a reference.
sourcepub async fn send(
self
) -> Result<CancelJobRunOutput, SdkError<CancelJobRunError, HttpResponse>>
pub async fn send( self ) -> Result<CancelJobRunOutput, SdkError<CancelJobRunError, 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<CancelJobRunOutput, CancelJobRunError, Self>
pub fn customize( self ) -> CustomizableOperation<CancelJobRunOutput, CancelJobRunError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn application_id(self, input: impl Into<String>) -> Self
pub fn application_id(self, input: impl Into<String>) -> Self
The ID of the application on which the job run will be canceled.
sourcepub fn set_application_id(self, input: Option<String>) -> Self
pub fn set_application_id(self, input: Option<String>) -> Self
The ID of the application on which the job run will be canceled.
sourcepub fn get_application_id(&self) -> &Option<String>
pub fn get_application_id(&self) -> &Option<String>
The ID of the application on which the job run will be canceled.
sourcepub fn job_run_id(self, input: impl Into<String>) -> Self
pub fn job_run_id(self, input: impl Into<String>) -> Self
The ID of the job run to cancel.
sourcepub fn set_job_run_id(self, input: Option<String>) -> Self
pub fn set_job_run_id(self, input: Option<String>) -> Self
The ID of the job run to cancel.
sourcepub fn get_job_run_id(&self) -> &Option<String>
pub fn get_job_run_id(&self) -> &Option<String>
The ID of the job run to cancel.
Trait Implementations§
source§impl Clone for CancelJobRunFluentBuilder
impl Clone for CancelJobRunFluentBuilder
source§fn clone(&self) -> CancelJobRunFluentBuilder
fn clone(&self) -> CancelJobRunFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more