Struct aws_sdk_batch::model::compute_environment_order::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ComputeEnvironmentOrder
.
Implementations§
source§impl Builder
impl Builder
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
.