#[non_exhaustive]pub struct CreateSchedulingPolicyInput {
pub name: Option<String>,
pub fairshare_policy: Option<FairsharePolicy>,
pub tags: Option<HashMap<String, String>>,
}
Expand description
Contains the parameters for CreateSchedulingPolicy
.
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. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
The fair share policy of the scheduling policy.
The tags that you apply to the scheduling policy to help you 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.
These tags can be updated or removed using the TagResource and UntagResource API operations.
Implementations§
source§impl CreateSchedulingPolicyInput
impl CreateSchedulingPolicyInput
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
The name of the scheduling policy. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
The fair share policy of the scheduling policy.
The tags that you apply to the scheduling policy to help you 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.
These tags can be updated or removed using the TagResource and UntagResource API operations.
source§impl CreateSchedulingPolicyInput
impl CreateSchedulingPolicyInput
sourcepub fn builder() -> CreateSchedulingPolicyInputBuilder
pub fn builder() -> CreateSchedulingPolicyInputBuilder
Creates a new builder-style object to manufacture CreateSchedulingPolicyInput
.
Trait Implementations§
source§impl Clone for CreateSchedulingPolicyInput
impl Clone for CreateSchedulingPolicyInput
source§fn clone(&self) -> CreateSchedulingPolicyInput
fn clone(&self) -> CreateSchedulingPolicyInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateSchedulingPolicyInput
impl Debug for CreateSchedulingPolicyInput
source§impl PartialEq<CreateSchedulingPolicyInput> for CreateSchedulingPolicyInput
impl PartialEq<CreateSchedulingPolicyInput> for CreateSchedulingPolicyInput
source§fn eq(&self, other: &CreateSchedulingPolicyInput) -> bool
fn eq(&self, other: &CreateSchedulingPolicyInput) -> bool
self
and other
values to be equal, and is used
by ==
.