Struct rusoto_batch::NodeOverrides
source · [−]pub struct NodeOverrides {
pub node_property_overrides: Option<Vec<NodePropertyOverride>>,
pub num_nodes: Option<i64>,
}
Expand description
Object representing any node overrides to a job definition that's used in a SubmitJob API operation.
This isn't applicable to jobs running on Fargate resources and shouldn't be provided; use containerOverrides
instead.
Fields
node_property_overrides: Option<Vec<NodePropertyOverride>>
The node property overrides for the job.
num_nodes: Option<i64>
The number of nodes to use with a multi-node parallel job. This value overrides the number of nodes that are specified in the job definition. To use this override:
-
There must be at least one node range in your job definition that has an open upper boundary (such as
:
orn:
). -
The lower boundary of the node range specified in the job definition must be fewer than the number of nodes specified in the override.
-
The main node index specified in the job definition must be fewer than the number of nodes specified in the override.
Trait Implementations
sourceimpl Clone for NodeOverrides
impl Clone for NodeOverrides
sourcefn clone(&self) -> NodeOverrides
fn clone(&self) -> NodeOverrides
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for NodeOverrides
impl Debug for NodeOverrides
sourceimpl Default for NodeOverrides
impl Default for NodeOverrides
sourcefn default() -> NodeOverrides
fn default() -> NodeOverrides
Returns the “default value” for a type. Read more
sourceimpl PartialEq<NodeOverrides> for NodeOverrides
impl PartialEq<NodeOverrides> for NodeOverrides
sourcefn eq(&self, other: &NodeOverrides) -> bool
fn eq(&self, other: &NodeOverrides) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &NodeOverrides) -> bool
fn ne(&self, other: &NodeOverrides) -> bool
This method tests for !=
.
sourceimpl Serialize for NodeOverrides
impl Serialize for NodeOverrides
impl StructuralPartialEq for NodeOverrides
Auto Trait Implementations
impl RefUnwindSafe for NodeOverrides
impl Send for NodeOverrides
impl Sync for NodeOverrides
impl Unpin for NodeOverrides
impl UnwindSafe for NodeOverrides
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more