Struct aws_sdk_s3control::operation::update_job_priority::builders::UpdateJobPriorityOutputBuilder
source · #[non_exhaustive]pub struct UpdateJobPriorityOutputBuilder { /* private fields */ }
Expand description
A builder for UpdateJobPriorityOutput
.
Implementations§
source§impl UpdateJobPriorityOutputBuilder
impl UpdateJobPriorityOutputBuilder
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 Amazon S3 updated.
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 Amazon S3 updated.
sourcepub fn get_job_id(&self) -> &Option<String>
pub fn get_job_id(&self) -> &Option<String>
The ID for the job whose priority Amazon S3 updated.
sourcepub fn priority(self, input: i32) -> Self
pub fn priority(self, input: i32) -> Self
The new priority assigned to the specified job.
This field is required.sourcepub fn set_priority(self, input: Option<i32>) -> Self
pub fn set_priority(self, input: Option<i32>) -> Self
The new priority assigned to the specified job.
sourcepub fn get_priority(&self) -> &Option<i32>
pub fn get_priority(&self) -> &Option<i32>
The new priority assigned to the specified job.
sourcepub fn build(self) -> Result<UpdateJobPriorityOutput, BuildError>
pub fn build(self) -> Result<UpdateJobPriorityOutput, BuildError>
Consumes the builder and constructs a UpdateJobPriorityOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for UpdateJobPriorityOutputBuilder
impl Clone for UpdateJobPriorityOutputBuilder
source§fn clone(&self) -> UpdateJobPriorityOutputBuilder
fn clone(&self) -> UpdateJobPriorityOutputBuilder
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 UpdateJobPriorityOutputBuilder
impl Default for UpdateJobPriorityOutputBuilder
source§fn default() -> UpdateJobPriorityOutputBuilder
fn default() -> UpdateJobPriorityOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UpdateJobPriorityOutputBuilder
impl PartialEq for UpdateJobPriorityOutputBuilder
source§fn eq(&self, other: &UpdateJobPriorityOutputBuilder) -> bool
fn eq(&self, other: &UpdateJobPriorityOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateJobPriorityOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for UpdateJobPriorityOutputBuilder
impl Send for UpdateJobPriorityOutputBuilder
impl Sync for UpdateJobPriorityOutputBuilder
impl Unpin for UpdateJobPriorityOutputBuilder
impl UnwindSafe for UpdateJobPriorityOutputBuilder
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.