Struct aws_sdk_batch::model::NodePropertiesSummary
source · #[non_exhaustive]pub struct NodePropertiesSummary { /* private fields */ }
Expand description
An object that represents the properties of a node that's associated with a multi-node parallel job.
Implementations§
source§impl NodePropertiesSummary
impl NodePropertiesSummary
sourcepub fn is_main_node(&self) -> Option<bool>
pub fn is_main_node(&self) -> Option<bool>
Specifies whether the current node is the main node for a multi-node parallel job.
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 node_index(&self) -> Option<i32>
pub fn node_index(&self) -> Option<i32>
The node index for the node. Node index numbering begins at zero. This index is also available on the node with the AWS_BATCH_JOB_NODE_INDEX
environment variable.
source§impl NodePropertiesSummary
impl NodePropertiesSummary
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture NodePropertiesSummary
.
Trait Implementations§
source§impl Clone for NodePropertiesSummary
impl Clone for NodePropertiesSummary
source§fn clone(&self) -> NodePropertiesSummary
fn clone(&self) -> NodePropertiesSummary
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 NodePropertiesSummary
impl Debug for NodePropertiesSummary
source§impl PartialEq<NodePropertiesSummary> for NodePropertiesSummary
impl PartialEq<NodePropertiesSummary> for NodePropertiesSummary
source§fn eq(&self, other: &NodePropertiesSummary) -> bool
fn eq(&self, other: &NodePropertiesSummary) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.