Struct aws_sdk_batch::types::SchedulingPolicyDetail
source · #[non_exhaustive]pub struct SchedulingPolicyDetail {
pub name: Option<String>,
pub arn: Option<String>,
pub fairshare_policy: Option<FairsharePolicy>,
pub tags: Option<HashMap<String, String>>,
}
Expand description
An object that represents a scheduling policy.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: Option<String>
The name of the scheduling policy.
arn: 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 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.
Implementations§
source§impl SchedulingPolicyDetail
impl SchedulingPolicyDetail
sourcepub fn arn(&self) -> Option<&str>
pub fn arn(&self) -> Option<&str>
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 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.
source§impl SchedulingPolicyDetail
impl SchedulingPolicyDetail
sourcepub fn builder() -> SchedulingPolicyDetailBuilder
pub fn builder() -> SchedulingPolicyDetailBuilder
Creates a new builder-style object to manufacture SchedulingPolicyDetail
.
Trait Implementations§
source§impl Clone for SchedulingPolicyDetail
impl Clone for SchedulingPolicyDetail
source§fn clone(&self) -> SchedulingPolicyDetail
fn clone(&self) -> SchedulingPolicyDetail
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SchedulingPolicyDetail
impl Debug for SchedulingPolicyDetail
source§impl PartialEq for SchedulingPolicyDetail
impl PartialEq for SchedulingPolicyDetail
source§fn eq(&self, other: &SchedulingPolicyDetail) -> bool
fn eq(&self, other: &SchedulingPolicyDetail) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SchedulingPolicyDetail
Auto Trait Implementations§
impl Freeze for SchedulingPolicyDetail
impl RefUnwindSafe for SchedulingPolicyDetail
impl Send for SchedulingPolicyDetail
impl Sync for SchedulingPolicyDetail
impl Unpin for SchedulingPolicyDetail
impl UnwindSafe for SchedulingPolicyDetail
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