Struct aws_sdk_batch::model::NodeProperties
source · #[non_exhaustive]pub struct NodeProperties { /* private fields */ }
Expand description
An object that represents the node properties of a multi-node parallel job.
Node properties can't be specified for Amazon EKS based job definitions.
Implementations§
source§impl NodeProperties
impl NodeProperties
sourcepub fn num_nodes(&self) -> Option<i32>
pub fn num_nodes(&self) -> Option<i32>
The number of nodes that are associated with a multi-node parallel job.
sourcepub fn main_node(&self) -> Option<i32>
pub fn main_node(&self) -> Option<i32>
Specifies the node index for the main node of a multi-node parallel job. This node index value must be fewer than the number of nodes.
sourcepub fn node_range_properties(&self) -> Option<&[NodeRangeProperty]>
pub fn node_range_properties(&self) -> Option<&[NodeRangeProperty]>
A list of node ranges and their properties that are associated with a multi-node parallel job.
source§impl NodeProperties
impl NodeProperties
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture NodeProperties
.
Trait Implementations§
source§impl Clone for NodeProperties
impl Clone for NodeProperties
source§fn clone(&self) -> NodeProperties
fn clone(&self) -> NodeProperties
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 Debug for NodeProperties
impl Debug for NodeProperties
source§impl PartialEq<NodeProperties> for NodeProperties
impl PartialEq<NodeProperties> for NodeProperties
source§fn eq(&self, other: &NodeProperties) -> bool
fn eq(&self, other: &NodeProperties) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.