pub struct UpdateJobPriority { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateJobPriority
.
Updates an existing S3 Batch Operations job's priority. For more information, see S3 Batch Operations in the Amazon S3 User Guide.
Related actions include:
Implementations§
source§impl UpdateJobPriority
impl UpdateJobPriority
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<UpdateJobPriority, AwsResponseRetryClassifier>, SdkError<UpdateJobPriorityError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<UpdateJobPriority, AwsResponseRetryClassifier>, SdkError<UpdateJobPriorityError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<UpdateJobPriorityOutput, SdkError<UpdateJobPriorityError>>
pub async fn send(
self
) -> Result<UpdateJobPriorityOutput, SdkError<UpdateJobPriorityError>>
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 account_id(self, input: impl Into<String>) -> Self
pub fn account_id(self, input: impl Into<String>) -> Self
The Amazon Web Services account ID associated with the S3 Batch Operations job.
sourcepub fn set_account_id(self, input: Option<String>) -> Self
pub fn set_account_id(self, input: Option<String>) -> Self
The Amazon Web Services account ID associated with the S3 Batch Operations job.
sourcepub fn job_id(self, input: impl Into<String>) -> Self
pub fn job_id(self, input: impl Into<String>) -> Self
The ID for the job whose priority you want to update.
sourcepub fn set_job_id(self, input: Option<String>) -> Self
pub fn set_job_id(self, input: Option<String>) -> Self
The ID for the job whose priority you want to update.
sourcepub fn set_priority(self, input: Option<i32>) -> Self
pub fn set_priority(self, input: Option<i32>) -> Self
The priority you want to assign to this job.
Trait Implementations§
source§impl Clone for UpdateJobPriority
impl Clone for UpdateJobPriority
source§fn clone(&self) -> UpdateJobPriority
fn clone(&self) -> UpdateJobPriority
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more