#[non_exhaustive]pub struct UpdateQueueInputBuilder { /* private fields */ }
Expand description
A builder for UpdateQueueInput
.
Implementations§
source§impl UpdateQueueInputBuilder
impl UpdateQueueInputBuilder
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The new description for the queue, if you are changing it.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The new description for the queue, if you are changing it.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The new description for the queue, if you are changing it.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the queue that you are modifying. This field is required.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the queue that you are modifying.
sourcepub fn reservation_plan_settings(self, input: ReservationPlanSettings) -> Self
pub fn reservation_plan_settings(self, input: ReservationPlanSettings) -> Self
The new details of your pricing plan for your reserved queue. When you set up a new pricing plan to replace an expired one, you enter into another 12-month commitment. When you add capacity to your queue by increasing the number of RTS, you extend the term of your commitment to 12 months from when you add capacity. After you make these commitments, you can’t cancel them.
sourcepub fn set_reservation_plan_settings(
self,
input: Option<ReservationPlanSettings>
) -> Self
pub fn set_reservation_plan_settings( self, input: Option<ReservationPlanSettings> ) -> Self
The new details of your pricing plan for your reserved queue. When you set up a new pricing plan to replace an expired one, you enter into another 12-month commitment. When you add capacity to your queue by increasing the number of RTS, you extend the term of your commitment to 12 months from when you add capacity. After you make these commitments, you can’t cancel them.
sourcepub fn get_reservation_plan_settings(&self) -> &Option<ReservationPlanSettings>
pub fn get_reservation_plan_settings(&self) -> &Option<ReservationPlanSettings>
The new details of your pricing plan for your reserved queue. When you set up a new pricing plan to replace an expired one, you enter into another 12-month commitment. When you add capacity to your queue by increasing the number of RTS, you extend the term of your commitment to 12 months from when you add capacity. After you make these commitments, you can’t cancel them.
sourcepub fn status(self, input: QueueStatus) -> Self
pub fn status(self, input: QueueStatus) -> Self
Pause or activate a queue by changing its status between ACTIVE and PAUSED. If you pause a queue, jobs in that queue won’t begin. Jobs that are running when you pause the queue continue to run until they finish or result in an error.
sourcepub fn set_status(self, input: Option<QueueStatus>) -> Self
pub fn set_status(self, input: Option<QueueStatus>) -> Self
Pause or activate a queue by changing its status between ACTIVE and PAUSED. If you pause a queue, jobs in that queue won’t begin. Jobs that are running when you pause the queue continue to run until they finish or result in an error.
sourcepub fn get_status(&self) -> &Option<QueueStatus>
pub fn get_status(&self) -> &Option<QueueStatus>
Pause or activate a queue by changing its status between ACTIVE and PAUSED. If you pause a queue, jobs in that queue won’t begin. Jobs that are running when you pause the queue continue to run until they finish or result in an error.
sourcepub fn build(self) -> Result<UpdateQueueInput, BuildError>
pub fn build(self) -> Result<UpdateQueueInput, BuildError>
Consumes the builder and constructs a UpdateQueueInput
.
source§impl UpdateQueueInputBuilder
impl UpdateQueueInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateQueueOutput, SdkError<UpdateQueueError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateQueueOutput, SdkError<UpdateQueueError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateQueueInputBuilder
impl Clone for UpdateQueueInputBuilder
source§fn clone(&self) -> UpdateQueueInputBuilder
fn clone(&self) -> UpdateQueueInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateQueueInputBuilder
impl Debug for UpdateQueueInputBuilder
source§impl Default for UpdateQueueInputBuilder
impl Default for UpdateQueueInputBuilder
source§fn default() -> UpdateQueueInputBuilder
fn default() -> UpdateQueueInputBuilder
source§impl PartialEq for UpdateQueueInputBuilder
impl PartialEq for UpdateQueueInputBuilder
source§fn eq(&self, other: &UpdateQueueInputBuilder) -> bool
fn eq(&self, other: &UpdateQueueInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateQueueInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateQueueInputBuilder
impl RefUnwindSafe for UpdateQueueInputBuilder
impl Send for UpdateQueueInputBuilder
impl Sync for UpdateQueueInputBuilder
impl Unpin for UpdateQueueInputBuilder
impl UnwindSafe for UpdateQueueInputBuilder
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