#[non_exhaustive]pub struct SchedulingPolicyDetailBuilder { /* private fields */ }
Expand description
A builder for SchedulingPolicyDetail
.
Implementations§
source§impl SchedulingPolicyDetailBuilder
impl SchedulingPolicyDetailBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the scheduling policy.
This field is required.sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the scheduling policy. An example is arn:aws:batch:us-east-1:123456789012:scheduling-policy/HighPriority
.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the scheduling policy. An example is arn:aws:batch:us-east-1:123456789012:scheduling-policy/HighPriority
.
sourcepub fn get_arn(&self) -> &Option<String>
pub fn get_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the scheduling policy. An example is arn:aws:batch:us-east-1:123456789012:scheduling-policy/HighPriority
.
The fair share policy for the scheduling policy.
The fair share policy for the scheduling policy.
The fair share policy for the scheduling policy.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
The tags that you apply to the scheduling policy to categorize and organize your resources. Each tag consists of a key and an optional value. For more information, see Tagging Amazon Web Services resources in Amazon Web Services General Reference.
The tags that you apply to the scheduling policy to categorize and organize your resources. Each tag consists of a key and an optional value. For more information, see Tagging Amazon Web Services resources in Amazon Web Services General Reference.
The tags that you apply to the scheduling policy to categorize and organize your resources. Each tag consists of a key and an optional value. For more information, see Tagging Amazon Web Services resources in Amazon Web Services General Reference.
sourcepub fn build(self) -> SchedulingPolicyDetail
pub fn build(self) -> SchedulingPolicyDetail
Consumes the builder and constructs a SchedulingPolicyDetail
.
Trait Implementations§
source§impl Clone for SchedulingPolicyDetailBuilder
impl Clone for SchedulingPolicyDetailBuilder
source§fn clone(&self) -> SchedulingPolicyDetailBuilder
fn clone(&self) -> SchedulingPolicyDetailBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for SchedulingPolicyDetailBuilder
impl Default for SchedulingPolicyDetailBuilder
source§fn default() -> SchedulingPolicyDetailBuilder
fn default() -> SchedulingPolicyDetailBuilder
source§impl PartialEq for SchedulingPolicyDetailBuilder
impl PartialEq for SchedulingPolicyDetailBuilder
source§fn eq(&self, other: &SchedulingPolicyDetailBuilder) -> bool
fn eq(&self, other: &SchedulingPolicyDetailBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SchedulingPolicyDetailBuilder
Auto Trait Implementations§
impl Freeze for SchedulingPolicyDetailBuilder
impl RefUnwindSafe for SchedulingPolicyDetailBuilder
impl Send for SchedulingPolicyDetailBuilder
impl Sync for SchedulingPolicyDetailBuilder
impl Unpin for SchedulingPolicyDetailBuilder
impl UnwindSafe for SchedulingPolicyDetailBuilder
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