Struct aws_sdk_batch::types::builders::NodePropertiesSummaryBuilder
source · #[non_exhaustive]pub struct NodePropertiesSummaryBuilder { /* private fields */ }
Expand description
A builder for NodePropertiesSummary
.
Implementations§
source§impl NodePropertiesSummaryBuilder
impl NodePropertiesSummaryBuilder
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 get_is_main_node(&self) -> &Option<bool>
pub fn get_is_main_node(&self) -> &Option<bool>
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 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 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 get_node_index(&self) -> &Option<i32>
pub fn get_node_index(&self) -> &Option<i32>
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
.
Trait Implementations§
source§impl Clone for NodePropertiesSummaryBuilder
impl Clone for NodePropertiesSummaryBuilder
source§fn clone(&self) -> NodePropertiesSummaryBuilder
fn clone(&self) -> NodePropertiesSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for NodePropertiesSummaryBuilder
impl Debug for NodePropertiesSummaryBuilder
source§impl Default for NodePropertiesSummaryBuilder
impl Default for NodePropertiesSummaryBuilder
source§fn default() -> NodePropertiesSummaryBuilder
fn default() -> NodePropertiesSummaryBuilder
source§impl PartialEq for NodePropertiesSummaryBuilder
impl PartialEq for NodePropertiesSummaryBuilder
source§fn eq(&self, other: &NodePropertiesSummaryBuilder) -> bool
fn eq(&self, other: &NodePropertiesSummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for NodePropertiesSummaryBuilder
Auto Trait Implementations§
impl Freeze for NodePropertiesSummaryBuilder
impl RefUnwindSafe for NodePropertiesSummaryBuilder
impl Send for NodePropertiesSummaryBuilder
impl Sync for NodePropertiesSummaryBuilder
impl Unpin for NodePropertiesSummaryBuilder
impl UnwindSafe for NodePropertiesSummaryBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more