Struct aws_sdk_batch::model::node_range_property::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for NodeRangeProperty
.
Implementations§
source§impl Builder
impl Builder
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 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 build(self) -> NodeRangeProperty
pub fn build(self) -> NodeRangeProperty
Consumes the builder and constructs a NodeRangeProperty
.