Struct aws_sdk_s3control::operation::update_job_priority::builders::UpdateJobPriorityInputBuilder
source · #[non_exhaustive]pub struct UpdateJobPriorityInputBuilder { /* private fields */ }Expand description
A builder for UpdateJobPriorityInput.
Implementations§
source§impl UpdateJobPriorityInputBuilder
impl UpdateJobPriorityInputBuilder
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.
This field is required.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 get_account_id(&self) -> &Option<String>
pub fn get_account_id(&self) -> &Option<String>
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.
This field is required.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 get_job_id(&self) -> &Option<String>
pub fn get_job_id(&self) -> &Option<String>
The ID for the job whose priority you want to update.
sourcepub fn priority(self, input: i32) -> Self
pub fn priority(self, input: i32) -> Self
The priority you want to assign to this job.
This field is required.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.
sourcepub fn get_priority(&self) -> &Option<i32>
pub fn get_priority(&self) -> &Option<i32>
The priority you want to assign to this job.
sourcepub fn build(self) -> Result<UpdateJobPriorityInput, BuildError>
pub fn build(self) -> Result<UpdateJobPriorityInput, BuildError>
Consumes the builder and constructs a UpdateJobPriorityInput.
source§impl UpdateJobPriorityInputBuilder
impl UpdateJobPriorityInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateJobPriorityOutput, SdkError<UpdateJobPriorityError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateJobPriorityOutput, SdkError<UpdateJobPriorityError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateJobPriorityInputBuilder
impl Clone for UpdateJobPriorityInputBuilder
source§fn clone(&self) -> UpdateJobPriorityInputBuilder
fn clone(&self) -> UpdateJobPriorityInputBuilder
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 Default for UpdateJobPriorityInputBuilder
impl Default for UpdateJobPriorityInputBuilder
source§fn default() -> UpdateJobPriorityInputBuilder
fn default() -> UpdateJobPriorityInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UpdateJobPriorityInputBuilder
impl PartialEq for UpdateJobPriorityInputBuilder
source§fn eq(&self, other: &UpdateJobPriorityInputBuilder) -> bool
fn eq(&self, other: &UpdateJobPriorityInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateJobPriorityInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for UpdateJobPriorityInputBuilder
impl Send for UpdateJobPriorityInputBuilder
impl Sync for UpdateJobPriorityInputBuilder
impl Unpin for UpdateJobPriorityInputBuilder
impl UnwindSafe for UpdateJobPriorityInputBuilder
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.