#[non_exhaustive]pub struct QueueEnvironmentSummaryBuilder { /* private fields */ }Expand description
A builder for QueueEnvironmentSummary.
Implementations§
source§impl QueueEnvironmentSummaryBuilder
impl QueueEnvironmentSummaryBuilder
sourcepub fn queue_environment_id(self, input: impl Into<String>) -> Self
pub fn queue_environment_id(self, input: impl Into<String>) -> Self
The queue environment ID.
This field is required.sourcepub fn set_queue_environment_id(self, input: Option<String>) -> Self
pub fn set_queue_environment_id(self, input: Option<String>) -> Self
The queue environment ID.
sourcepub fn get_queue_environment_id(&self) -> &Option<String>
pub fn get_queue_environment_id(&self) -> &Option<String>
The queue environment ID.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the queue environment.
This field is required.sourcepub fn priority(self, input: i32) -> Self
pub fn priority(self, input: i32) -> Self
The queue environment's priority.
This field is required.sourcepub fn set_priority(self, input: Option<i32>) -> Self
pub fn set_priority(self, input: Option<i32>) -> Self
The queue environment's priority.
sourcepub fn get_priority(&self) -> &Option<i32>
pub fn get_priority(&self) -> &Option<i32>
The queue environment's priority.
sourcepub fn build(self) -> Result<QueueEnvironmentSummary, BuildError>
pub fn build(self) -> Result<QueueEnvironmentSummary, BuildError>
Consumes the builder and constructs a QueueEnvironmentSummary.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for QueueEnvironmentSummaryBuilder
impl Clone for QueueEnvironmentSummaryBuilder
source§fn clone(&self) -> QueueEnvironmentSummaryBuilder
fn clone(&self) -> QueueEnvironmentSummaryBuilder
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 QueueEnvironmentSummaryBuilder
impl Default for QueueEnvironmentSummaryBuilder
source§fn default() -> QueueEnvironmentSummaryBuilder
fn default() -> QueueEnvironmentSummaryBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for QueueEnvironmentSummaryBuilder
impl PartialEq for QueueEnvironmentSummaryBuilder
source§fn eq(&self, other: &QueueEnvironmentSummaryBuilder) -> bool
fn eq(&self, other: &QueueEnvironmentSummaryBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for QueueEnvironmentSummaryBuilder
Auto Trait Implementations§
impl Freeze for QueueEnvironmentSummaryBuilder
impl RefUnwindSafe for QueueEnvironmentSummaryBuilder
impl Send for QueueEnvironmentSummaryBuilder
impl Sync for QueueEnvironmentSummaryBuilder
impl Unpin for QueueEnvironmentSummaryBuilder
impl UnwindSafe for QueueEnvironmentSummaryBuilder
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.