Struct aws_sdk_batch::types::builders::NodeDetailsBuilder
source · #[non_exhaustive]pub struct NodeDetailsBuilder { /* private fields */ }
Expand description
A builder for NodeDetails
.
Implementations§
source§impl NodeDetailsBuilder
impl NodeDetailsBuilder
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 starts 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 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, 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 build(self) -> NodeDetails
pub fn build(self) -> NodeDetails
Consumes the builder and constructs a NodeDetails
.
Trait Implementations§
source§impl Clone for NodeDetailsBuilder
impl Clone for NodeDetailsBuilder
source§fn clone(&self) -> NodeDetailsBuilder
fn clone(&self) -> NodeDetailsBuilder
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 NodeDetailsBuilder
impl Debug for NodeDetailsBuilder
source§impl Default for NodeDetailsBuilder
impl Default for NodeDetailsBuilder
source§fn default() -> NodeDetailsBuilder
fn default() -> NodeDetailsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<NodeDetailsBuilder> for NodeDetailsBuilder
impl PartialEq<NodeDetailsBuilder> for NodeDetailsBuilder
source§fn eq(&self, other: &NodeDetailsBuilder) -> bool
fn eq(&self, other: &NodeDetailsBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.