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 ecs_properties_override(self, input: EcsPropertiesOverride) -> Self
pub fn ecs_properties_override(self, input: EcsPropertiesOverride) -> Self
An object that contains the properties that you want to replace for the existing Amazon ECS resources of a job.
sourcepub fn set_ecs_properties_override(
self,
input: Option<EcsPropertiesOverride>
) -> Self
pub fn set_ecs_properties_override( self, input: Option<EcsPropertiesOverride> ) -> Self
An object that contains the properties that you want to replace for the existing Amazon ECS resources of a job.
sourcepub fn get_ecs_properties_override(&self) -> &Option<EcsPropertiesOverride>
pub fn get_ecs_properties_override(&self) -> &Option<EcsPropertiesOverride>
An object that contains the properties that you want to replace for the existing Amazon ECS resources of a job.
sourcepub fn instance_types(self, input: impl Into<String>) -> Self
pub fn instance_types(self, input: impl Into<String>) -> Self
Appends an item to instance_types
.
To override the contents of this collection use set_instance_types
.
An object that contains the instance types that you want to replace for the existing resources of a job.
sourcepub fn set_instance_types(self, input: Option<Vec<String>>) -> Self
pub fn set_instance_types(self, input: Option<Vec<String>>) -> Self
An object that contains the instance types that you want to replace for the existing resources of a job.
sourcepub fn get_instance_types(&self) -> &Option<Vec<String>>
pub fn get_instance_types(&self) -> &Option<Vec<String>>
An object that contains the instance types that you want to replace for the existing resources of a job.
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 for NodePropertyOverrideBuilder
impl PartialEq 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 ==
.impl StructuralPartialEq for NodePropertyOverrideBuilder
Auto Trait Implementations§
impl Freeze for NodePropertyOverrideBuilder
impl RefUnwindSafe for NodePropertyOverrideBuilder
impl Send for NodePropertyOverrideBuilder
impl Sync for NodePropertyOverrideBuilder
impl Unpin for NodePropertyOverrideBuilder
impl UnwindSafe for NodePropertyOverrideBuilder
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