Struct aws_sdk_batch::operation::create_scheduling_policy::builders::CreateSchedulingPolicyInputBuilder
source · #[non_exhaustive]pub struct CreateSchedulingPolicyInputBuilder { /* private fields */ }
Expand description
A builder for CreateSchedulingPolicyInput
.
Implementations§
source§impl CreateSchedulingPolicyInputBuilder
impl CreateSchedulingPolicyInputBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
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 (_).
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
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 (_).
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &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 fair share policy of the scheduling policy.
The fair share policy of 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 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.
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.
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.
sourcepub fn build(self) -> Result<CreateSchedulingPolicyInput, BuildError>
pub fn build(self) -> Result<CreateSchedulingPolicyInput, BuildError>
Consumes the builder and constructs a CreateSchedulingPolicyInput
.
source§impl CreateSchedulingPolicyInputBuilder
impl CreateSchedulingPolicyInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateSchedulingPolicyOutput, SdkError<CreateSchedulingPolicyError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateSchedulingPolicyOutput, SdkError<CreateSchedulingPolicyError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateSchedulingPolicyInputBuilder
impl Clone for CreateSchedulingPolicyInputBuilder
source§fn clone(&self) -> CreateSchedulingPolicyInputBuilder
fn clone(&self) -> CreateSchedulingPolicyInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateSchedulingPolicyInputBuilder
impl Default for CreateSchedulingPolicyInputBuilder
source§fn default() -> CreateSchedulingPolicyInputBuilder
fn default() -> CreateSchedulingPolicyInputBuilder
source§impl PartialEq<CreateSchedulingPolicyInputBuilder> for CreateSchedulingPolicyInputBuilder
impl PartialEq<CreateSchedulingPolicyInputBuilder> for CreateSchedulingPolicyInputBuilder
source§fn eq(&self, other: &CreateSchedulingPolicyInputBuilder) -> bool
fn eq(&self, other: &CreateSchedulingPolicyInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.