Struct aws_sdk_batch::types::builders::NodeRangePropertyBuilder
source · #[non_exhaustive]pub struct NodeRangePropertyBuilder { /* private fields */ }Expand description
A builder for NodeRangeProperty.
Implementations§
source§impl NodeRangePropertyBuilder
impl NodeRangePropertyBuilder
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. 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. Your accumulative node ranges must account for all nodes (0:n). You can nest node ranges (for example, 0:10 and 4:5). In this case, the 4:5 range properties override the 0:10 properties.
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. 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. Your accumulative node ranges must account for all nodes (0:n). You can nest node ranges (for example, 0:10 and 4:5). In this case, the 4:5 range properties override the 0:10 properties.
sourcepub fn get_target_nodes(&self) -> &Option<String>
pub fn get_target_nodes(&self) -> &Option<String>
The range of nodes, using node index values. 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. Your accumulative node ranges must account for all nodes (0:n). You can nest node ranges (for example, 0:10 and 4:5). In this case, the 4:5 range properties override the 0:10 properties.
sourcepub fn container(self, input: ContainerProperties) -> Self
pub fn container(self, input: ContainerProperties) -> Self
The container details for the node range.
sourcepub fn set_container(self, input: Option<ContainerProperties>) -> Self
pub fn set_container(self, input: Option<ContainerProperties>) -> Self
The container details for the node range.
sourcepub fn get_container(&self) -> &Option<ContainerProperties>
pub fn get_container(&self) -> &Option<ContainerProperties>
The container details for the node range.
sourcepub fn build(self) -> NodeRangeProperty
pub fn build(self) -> NodeRangeProperty
Consumes the builder and constructs a NodeRangeProperty.
Trait Implementations§
source§impl Clone for NodeRangePropertyBuilder
impl Clone for NodeRangePropertyBuilder
source§fn clone(&self) -> NodeRangePropertyBuilder
fn clone(&self) -> NodeRangePropertyBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for NodeRangePropertyBuilder
impl Debug for NodeRangePropertyBuilder
source§impl Default for NodeRangePropertyBuilder
impl Default for NodeRangePropertyBuilder
source§fn default() -> NodeRangePropertyBuilder
fn default() -> NodeRangePropertyBuilder
source§impl PartialEq for NodeRangePropertyBuilder
impl PartialEq for NodeRangePropertyBuilder
source§fn eq(&self, other: &NodeRangePropertyBuilder) -> bool
fn eq(&self, other: &NodeRangePropertyBuilder) -> bool
self and other values to be equal, and is used
by ==.