Struct aws_sdk_mediaconvert::types::builders::HopDestinationBuilder
source · #[non_exhaustive]pub struct HopDestinationBuilder { /* private fields */ }
Expand description
A builder for HopDestination
.
Implementations§
source§impl HopDestinationBuilder
impl HopDestinationBuilder
sourcepub fn priority(self, input: i32) -> Self
pub fn priority(self, input: i32) -> Self
Optional. When you set up a job to use queue hopping, you can specify a different relative priority for the job in the destination queue. If you don’t specify, the relative priority will remain the same as in the previous queue.
sourcepub fn set_priority(self, input: Option<i32>) -> Self
pub fn set_priority(self, input: Option<i32>) -> Self
Optional. When you set up a job to use queue hopping, you can specify a different relative priority for the job in the destination queue. If you don’t specify, the relative priority will remain the same as in the previous queue.
sourcepub fn get_priority(&self) -> &Option<i32>
pub fn get_priority(&self) -> &Option<i32>
Optional. When you set up a job to use queue hopping, you can specify a different relative priority for the job in the destination queue. If you don’t specify, the relative priority will remain the same as in the previous queue.
sourcepub fn queue(self, input: impl Into<String>) -> Self
pub fn queue(self, input: impl Into<String>) -> Self
Optional unless the job is submitted on the default queue. When you set up a job to use queue hopping, you can specify a destination queue. This queue cannot be the original queue to which the job is submitted. If the original queue isn’t the default queue and you don’t specify the destination queue, the job will move to the default queue.
sourcepub fn set_queue(self, input: Option<String>) -> Self
pub fn set_queue(self, input: Option<String>) -> Self
Optional unless the job is submitted on the default queue. When you set up a job to use queue hopping, you can specify a destination queue. This queue cannot be the original queue to which the job is submitted. If the original queue isn’t the default queue and you don’t specify the destination queue, the job will move to the default queue.
sourcepub fn get_queue(&self) -> &Option<String>
pub fn get_queue(&self) -> &Option<String>
Optional unless the job is submitted on the default queue. When you set up a job to use queue hopping, you can specify a destination queue. This queue cannot be the original queue to which the job is submitted. If the original queue isn’t the default queue and you don’t specify the destination queue, the job will move to the default queue.
sourcepub fn wait_minutes(self, input: i32) -> Self
pub fn wait_minutes(self, input: i32) -> Self
Required for setting up a job to use queue hopping. Minimum wait time in minutes until the job can hop to the destination queue. Valid range is 1 to 4320 minutes, inclusive.
sourcepub fn set_wait_minutes(self, input: Option<i32>) -> Self
pub fn set_wait_minutes(self, input: Option<i32>) -> Self
Required for setting up a job to use queue hopping. Minimum wait time in minutes until the job can hop to the destination queue. Valid range is 1 to 4320 minutes, inclusive.
sourcepub fn get_wait_minutes(&self) -> &Option<i32>
pub fn get_wait_minutes(&self) -> &Option<i32>
Required for setting up a job to use queue hopping. Minimum wait time in minutes until the job can hop to the destination queue. Valid range is 1 to 4320 minutes, inclusive.
sourcepub fn build(self) -> HopDestination
pub fn build(self) -> HopDestination
Consumes the builder and constructs a HopDestination
.
Trait Implementations§
source§impl Clone for HopDestinationBuilder
impl Clone for HopDestinationBuilder
source§fn clone(&self) -> HopDestinationBuilder
fn clone(&self) -> HopDestinationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for HopDestinationBuilder
impl Debug for HopDestinationBuilder
source§impl Default for HopDestinationBuilder
impl Default for HopDestinationBuilder
source§fn default() -> HopDestinationBuilder
fn default() -> HopDestinationBuilder
source§impl PartialEq for HopDestinationBuilder
impl PartialEq for HopDestinationBuilder
source§fn eq(&self, other: &HopDestinationBuilder) -> bool
fn eq(&self, other: &HopDestinationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for HopDestinationBuilder
Auto Trait Implementations§
impl Freeze for HopDestinationBuilder
impl RefUnwindSafe for HopDestinationBuilder
impl Send for HopDestinationBuilder
impl Sync for HopDestinationBuilder
impl Unpin for HopDestinationBuilder
impl UnwindSafe for HopDestinationBuilder
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more