Struct aws_sdk_batch::model::NodeOverrides
source · #[non_exhaustive]pub struct NodeOverrides { /* private fields */ }
Expand description
An object that represents any node overrides to a job definition that's used in a SubmitJob
API operation.
This parameter isn't applicable to jobs that are running on Fargate resources. Don't provide it for these jobs. Rather, 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, you must meet the following conditions:
-
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 that's specified in the job definition must be fewer than the number of nodes specified in the override.
-
The main node index that's 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 moresource§impl Debug for NodeOverrides
impl Debug for NodeOverrides
source§impl PartialEq<NodeOverrides> for NodeOverrides
impl PartialEq<NodeOverrides> for NodeOverrides
source§fn eq(&self, other: &NodeOverrides) -> bool
fn eq(&self, other: &NodeOverrides) -> bool
self
and other
values to be equal, and is used
by ==
.