Struct aws_sdk_batch::model::node_properties::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for NodeProperties
.
Implementations§
source§impl Builder
impl Builder
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 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 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 build(self) -> NodeProperties
pub fn build(self) -> NodeProperties
Consumes the builder and constructs a NodeProperties
.