Struct aws_sdk_batch::types::NodeProperties
source · #[non_exhaustive]pub struct NodeProperties {
pub num_nodes: Option<i32>,
pub main_node: Option<i32>,
pub node_range_properties: Option<Vec<NodeRangeProperty>>,
}
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.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.num_nodes: Option<i32>
The number of nodes that are associated with a multi-node parallel job.
main_node: 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.
node_range_properties: Option<Vec<NodeRangeProperty>>
A list of node ranges and their properties that are associated with a multi-node parallel job.
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() -> NodePropertiesBuilder
pub fn builder() -> NodePropertiesBuilder
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
self
and other
values to be equal, and is used
by ==
.