#[non_exhaustive]pub struct ComputeEnvironmentOrderBuilder { /* private fields */ }Expand description
A builder for ComputeEnvironmentOrder.
Implementations§
source§impl ComputeEnvironmentOrderBuilder
 
impl ComputeEnvironmentOrderBuilder
sourcepub fn order(self, input: i32) -> Self
 
pub fn order(self, input: i32) -> Self
The order of the compute environment. Compute environments are tried in ascending order. For example, if two compute environments are associated with a job queue, the compute environment with a lower order integer value is tried for job placement first.
sourcepub fn set_order(self, input: Option<i32>) -> Self
 
pub fn set_order(self, input: Option<i32>) -> Self
The order of the compute environment. Compute environments are tried in ascending order. For example, if two compute environments are associated with a job queue, the compute environment with a lower order integer value is tried for job placement first.
sourcepub fn get_order(&self) -> &Option<i32>
 
pub fn get_order(&self) -> &Option<i32>
The order of the compute environment. Compute environments are tried in ascending order. For example, if two compute environments are associated with a job queue, the compute environment with a lower order integer value is tried for job placement first.
sourcepub fn compute_environment(self, input: impl Into<String>) -> Self
 
pub fn compute_environment(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the compute environment.
This field is required.sourcepub fn set_compute_environment(self, input: Option<String>) -> Self
 
pub fn set_compute_environment(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the compute environment.
sourcepub fn get_compute_environment(&self) -> &Option<String>
 
pub fn get_compute_environment(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the compute environment.
sourcepub fn build(self) -> ComputeEnvironmentOrder
 
pub fn build(self) -> ComputeEnvironmentOrder
Consumes the builder and constructs a ComputeEnvironmentOrder.
Trait Implementations§
source§impl Clone for ComputeEnvironmentOrderBuilder
 
impl Clone for ComputeEnvironmentOrderBuilder
source§fn clone(&self) -> ComputeEnvironmentOrderBuilder
 
fn clone(&self) -> ComputeEnvironmentOrderBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ComputeEnvironmentOrderBuilder
 
impl Default for ComputeEnvironmentOrderBuilder
source§fn default() -> ComputeEnvironmentOrderBuilder
 
fn default() -> ComputeEnvironmentOrderBuilder
source§impl PartialEq for ComputeEnvironmentOrderBuilder
 
impl PartialEq for ComputeEnvironmentOrderBuilder
source§fn eq(&self, other: &ComputeEnvironmentOrderBuilder) -> bool
 
fn eq(&self, other: &ComputeEnvironmentOrderBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ComputeEnvironmentOrderBuilder
Auto Trait Implementations§
impl Freeze for ComputeEnvironmentOrderBuilder
impl RefUnwindSafe for ComputeEnvironmentOrderBuilder
impl Send for ComputeEnvironmentOrderBuilder
impl Sync for ComputeEnvironmentOrderBuilder
impl Unpin for ComputeEnvironmentOrderBuilder
impl UnwindSafe for ComputeEnvironmentOrderBuilder
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