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<SchedulingPolicyDetail> for SchedulingPolicyDetail
impl PartialEq<SchedulingPolicyDetail> 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 ==
.