Struct aws_sdk_deadline::operation::get_queue_environment::builders::GetQueueEnvironmentOutputBuilder
source · #[non_exhaustive]pub struct GetQueueEnvironmentOutputBuilder { /* private fields */ }Expand description
A builder for GetQueueEnvironmentOutput.
Implementations§
source§impl GetQueueEnvironmentOutputBuilder
impl GetQueueEnvironmentOutputBuilder
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 priority of the queue environment.
This field is required.sourcepub fn set_priority(self, input: Option<i32>) -> Self
pub fn set_priority(self, input: Option<i32>) -> Self
The priority of the queue environment.
sourcepub fn get_priority(&self) -> &Option<i32>
pub fn get_priority(&self) -> &Option<i32>
The priority of the queue environment.
sourcepub fn template_type(self, input: EnvironmentTemplateType) -> Self
pub fn template_type(self, input: EnvironmentTemplateType) -> Self
The type of template for the queue environment.
This field is required.sourcepub fn set_template_type(self, input: Option<EnvironmentTemplateType>) -> Self
pub fn set_template_type(self, input: Option<EnvironmentTemplateType>) -> Self
The type of template for the queue environment.
sourcepub fn get_template_type(&self) -> &Option<EnvironmentTemplateType>
pub fn get_template_type(&self) -> &Option<EnvironmentTemplateType>
The type of template for the queue environment.
sourcepub fn template(self, input: impl Into<String>) -> Self
pub fn template(self, input: impl Into<String>) -> Self
The template for the queue environment.
This field is required.sourcepub fn set_template(self, input: Option<String>) -> Self
pub fn set_template(self, input: Option<String>) -> Self
The template for the queue environment.
sourcepub fn get_template(&self) -> &Option<String>
pub fn get_template(&self) -> &Option<String>
The template for the queue environment.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The date and time the resource was created.
This field is required.sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
The date and time the resource was created.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
The date and time the resource was created.
sourcepub fn created_by(self, input: impl Into<String>) -> Self
pub fn created_by(self, input: impl Into<String>) -> Self
The user or system that created this resource.>
This field is required.sourcepub fn set_created_by(self, input: Option<String>) -> Self
pub fn set_created_by(self, input: Option<String>) -> Self
The user or system that created this resource.>
sourcepub fn get_created_by(&self) -> &Option<String>
pub fn get_created_by(&self) -> &Option<String>
The user or system that created this resource.>
sourcepub fn updated_at(self, input: DateTime) -> Self
pub fn updated_at(self, input: DateTime) -> Self
The date and time the resource was updated.
sourcepub fn set_updated_at(self, input: Option<DateTime>) -> Self
pub fn set_updated_at(self, input: Option<DateTime>) -> Self
The date and time the resource was updated.
sourcepub fn get_updated_at(&self) -> &Option<DateTime>
pub fn get_updated_at(&self) -> &Option<DateTime>
The date and time the resource was updated.
sourcepub fn updated_by(self, input: impl Into<String>) -> Self
pub fn updated_by(self, input: impl Into<String>) -> Self
The user or system that updated this resource.
sourcepub fn set_updated_by(self, input: Option<String>) -> Self
pub fn set_updated_by(self, input: Option<String>) -> Self
The user or system that updated this resource.
sourcepub fn get_updated_by(&self) -> &Option<String>
pub fn get_updated_by(&self) -> &Option<String>
The user or system that updated this resource.
sourcepub fn build(self) -> Result<GetQueueEnvironmentOutput, BuildError>
pub fn build(self) -> Result<GetQueueEnvironmentOutput, BuildError>
Consumes the builder and constructs a GetQueueEnvironmentOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for GetQueueEnvironmentOutputBuilder
impl Clone for GetQueueEnvironmentOutputBuilder
source§fn clone(&self) -> GetQueueEnvironmentOutputBuilder
fn clone(&self) -> GetQueueEnvironmentOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for GetQueueEnvironmentOutputBuilder
impl Default for GetQueueEnvironmentOutputBuilder
source§fn default() -> GetQueueEnvironmentOutputBuilder
fn default() -> GetQueueEnvironmentOutputBuilder
source§impl PartialEq for GetQueueEnvironmentOutputBuilder
impl PartialEq for GetQueueEnvironmentOutputBuilder
source§fn eq(&self, other: &GetQueueEnvironmentOutputBuilder) -> bool
fn eq(&self, other: &GetQueueEnvironmentOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetQueueEnvironmentOutputBuilder
Auto Trait Implementations§
impl Freeze for GetQueueEnvironmentOutputBuilder
impl RefUnwindSafe for GetQueueEnvironmentOutputBuilder
impl Send for GetQueueEnvironmentOutputBuilder
impl Sync for GetQueueEnvironmentOutputBuilder
impl Unpin for GetQueueEnvironmentOutputBuilder
impl UnwindSafe for GetQueueEnvironmentOutputBuilder
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