Struct aws_sdk_batch::model::node_properties_summary::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for NodePropertiesSummary
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn is_main_node(self, input: bool) -> Self
pub fn is_main_node(self, input: bool) -> Self
Specifies whether the current node is the main node for a multi-node parallel job.
sourcepub fn set_is_main_node(self, input: Option<bool>) -> Self
pub fn set_is_main_node(self, input: Option<bool>) -> Self
Specifies whether the current node is the main node for a multi-node parallel job.
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 node_index(self, input: i32) -> Self
pub fn node_index(self, input: i32) -> Self
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.
sourcepub fn set_node_index(self, input: Option<i32>) -> Self
pub fn set_node_index(self, input: Option<i32>) -> Self
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.
sourcepub fn build(self) -> NodePropertiesSummary
pub fn build(self) -> NodePropertiesSummary
Consumes the builder and constructs a NodePropertiesSummary
.