Struct aws_sdk_batch::model::NodeOverrides
source · #[non_exhaustive]pub struct NodeOverrides { /* private fields */ }
Expand description
Object representing any node overrides to a job definition that's used in a SubmitJob
API operation.
This isn't applicable to jobs that are running on Fargate resources and shouldn't be provided; use containerOverrides
instead.
Implementations§
source§impl NodeOverrides
impl NodeOverrides
sourcepub fn num_nodes(&self) -> Option<i32>
pub fn num_nodes(&self) -> Option<i32>
The number of nodes to use with a multi-node parallel job. This value overrides the number of nodes that are specified in the job definition. To use this override:
-
There must be at least one node range in your job definition that has an open upper boundary (such as
:
orn:
). -
The lower boundary of the node range specified in the job definition must be fewer than the number of nodes specified in the override.
-
The main node index specified in the job definition must be fewer than the number of nodes specified in the override.
sourcepub fn node_property_overrides(&self) -> Option<&[NodePropertyOverride]>
pub fn node_property_overrides(&self) -> Option<&[NodePropertyOverride]>
The node property overrides for the job.
source§impl NodeOverrides
impl NodeOverrides
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture NodeOverrides
.
Trait Implementations§
source§impl Clone for NodeOverrides
impl Clone for NodeOverrides
source§fn clone(&self) -> NodeOverrides
fn clone(&self) -> NodeOverrides
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more