#[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 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.
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 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
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 ComputeEnvironmentOrderBuilder
impl Default for ComputeEnvironmentOrderBuilder
source§fn default() -> ComputeEnvironmentOrderBuilder
fn default() -> ComputeEnvironmentOrderBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<ComputeEnvironmentOrderBuilder> for ComputeEnvironmentOrderBuilder
impl PartialEq<ComputeEnvironmentOrderBuilder> for ComputeEnvironmentOrderBuilder
source§fn eq(&self, other: &ComputeEnvironmentOrderBuilder) -> bool
fn eq(&self, other: &ComputeEnvironmentOrderBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.