Struct aws_sdk_elastictranscoder::input::cancel_job_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for CancelJobInput
.
Implementations§
source§impl Builder
impl Builder
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
.