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