Struct aws_sdk_batch::types::builders::NodePropertiesBuilder
source · #[non_exhaustive]pub struct NodePropertiesBuilder { /* private fields */ }
Expand description
A builder for NodeProperties
.
Implementations§
source§impl NodePropertiesBuilder
impl NodePropertiesBuilder
sourcepub fn num_nodes(self, input: i32) -> Self
pub fn num_nodes(self, input: i32) -> Self
The number of nodes that are associated with a multi-node parallel job.
sourcepub fn set_num_nodes(self, input: Option<i32>) -> Self
pub fn set_num_nodes(self, input: Option<i32>) -> Self
The number of nodes that are associated with a multi-node parallel job.
sourcepub fn get_num_nodes(&self) -> &Option<i32>
pub fn get_num_nodes(&self) -> &Option<i32>
The number of nodes that are associated with a multi-node parallel job.
sourcepub fn main_node(self, input: i32) -> Self
pub fn main_node(self, input: i32) -> Self
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 set_main_node(self, input: Option<i32>) -> Self
pub fn set_main_node(self, input: Option<i32>) -> Self
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 get_main_node(&self) -> &Option<i32>
pub fn get_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, input: NodeRangeProperty) -> Self
pub fn node_range_properties(self, input: NodeRangeProperty) -> Self
Appends an item to node_range_properties
.
To override the contents of this collection use set_node_range_properties
.
A list of node ranges and their properties that are associated with a multi-node parallel job.
sourcepub fn set_node_range_properties(
self,
input: Option<Vec<NodeRangeProperty>>
) -> Self
pub fn set_node_range_properties( self, input: Option<Vec<NodeRangeProperty>> ) -> Self
A list of node ranges and their properties that are associated with a multi-node parallel job.
sourcepub fn get_node_range_properties(&self) -> &Option<Vec<NodeRangeProperty>>
pub fn get_node_range_properties(&self) -> &Option<Vec<NodeRangeProperty>>
A list of node ranges and their properties that are associated with a multi-node parallel job.
sourcepub fn build(self) -> NodeProperties
pub fn build(self) -> NodeProperties
Consumes the builder and constructs a NodeProperties
.
Trait Implementations§
source§impl Clone for NodePropertiesBuilder
impl Clone for NodePropertiesBuilder
source§fn clone(&self) -> NodePropertiesBuilder
fn clone(&self) -> NodePropertiesBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for NodePropertiesBuilder
impl Debug for NodePropertiesBuilder
source§impl Default for NodePropertiesBuilder
impl Default for NodePropertiesBuilder
source§fn default() -> NodePropertiesBuilder
fn default() -> NodePropertiesBuilder
source§impl PartialEq<NodePropertiesBuilder> for NodePropertiesBuilder
impl PartialEq<NodePropertiesBuilder> for NodePropertiesBuilder
source§fn eq(&self, other: &NodePropertiesBuilder) -> bool
fn eq(&self, other: &NodePropertiesBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.