Struct aws_sdk_batch::types::builders::NodePropertyOverrideBuilder
source · #[non_exhaustive]pub struct NodePropertyOverrideBuilder { /* private fields */ }
Expand description
A builder for NodePropertyOverride
.
Implementations§
source§impl NodePropertyOverrideBuilder
impl NodePropertyOverrideBuilder
sourcepub fn target_nodes(self, input: impl Into<String>) -> Self
pub fn target_nodes(self, input: impl Into<String>) -> Self
The range of nodes, using node index values, that's used to override. A range of 0:3
indicates nodes with index values of 0
through 3
. If the starting range value is omitted (:n
), then 0
is used to start the range. If the ending range value is omitted (n:
), then the highest possible node index is used to end the range.
sourcepub fn set_target_nodes(self, input: Option<String>) -> Self
pub fn set_target_nodes(self, input: Option<String>) -> Self
The range of nodes, using node index values, that's used to override. A range of 0:3
indicates nodes with index values of 0
through 3
. If the starting range value is omitted (:n
), then 0
is used to start the range. If the ending range value is omitted (n:
), then the highest possible node index is used to end the range.
sourcepub fn get_target_nodes(&self) -> &Option<String>
pub fn get_target_nodes(&self) -> &Option<String>
The range of nodes, using node index values, that's used to override. A range of 0:3
indicates nodes with index values of 0
through 3
. If the starting range value is omitted (:n
), then 0
is used to start the range. If the ending range value is omitted (n:
), then the highest possible node index is used to end the range.
sourcepub fn container_overrides(self, input: ContainerOverrides) -> Self
pub fn container_overrides(self, input: ContainerOverrides) -> Self
The overrides that are sent to a node range.
sourcepub fn set_container_overrides(self, input: Option<ContainerOverrides>) -> Self
pub fn set_container_overrides(self, input: Option<ContainerOverrides>) -> Self
The overrides that are sent to a node range.
sourcepub fn get_container_overrides(&self) -> &Option<ContainerOverrides>
pub fn get_container_overrides(&self) -> &Option<ContainerOverrides>
The overrides that are sent to a node range.
sourcepub fn build(self) -> NodePropertyOverride
pub fn build(self) -> NodePropertyOverride
Consumes the builder and constructs a NodePropertyOverride
.
Trait Implementations§
source§impl Clone for NodePropertyOverrideBuilder
impl Clone for NodePropertyOverrideBuilder
source§fn clone(&self) -> NodePropertyOverrideBuilder
fn clone(&self) -> NodePropertyOverrideBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for NodePropertyOverrideBuilder
impl Debug for NodePropertyOverrideBuilder
source§impl Default for NodePropertyOverrideBuilder
impl Default for NodePropertyOverrideBuilder
source§fn default() -> NodePropertyOverrideBuilder
fn default() -> NodePropertyOverrideBuilder
source§impl PartialEq<NodePropertyOverrideBuilder> for NodePropertyOverrideBuilder
impl PartialEq<NodePropertyOverrideBuilder> for NodePropertyOverrideBuilder
source§fn eq(&self, other: &NodePropertyOverrideBuilder) -> bool
fn eq(&self, other: &NodePropertyOverrideBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.