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