#[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 for CreateSchedulingPolicyInput
impl PartialEq 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 ==
.impl StructuralPartialEq for CreateSchedulingPolicyInput
Auto Trait Implementations§
impl Freeze for CreateSchedulingPolicyInput
impl RefUnwindSafe for CreateSchedulingPolicyInput
impl Send for CreateSchedulingPolicyInput
impl Sync for CreateSchedulingPolicyInput
impl Unpin for CreateSchedulingPolicyInput
impl UnwindSafe for CreateSchedulingPolicyInput
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