Struct aws_sdk_batch::operation::create_scheduling_policy::builders::CreateSchedulingPolicyFluentBuilder
source · pub struct CreateSchedulingPolicyFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateSchedulingPolicy
.
Creates an Batch scheduling policy.
Implementations§
source§impl CreateSchedulingPolicyFluentBuilder
impl CreateSchedulingPolicyFluentBuilder
sourcepub fn as_input(&self) -> &CreateSchedulingPolicyInputBuilder
pub fn as_input(&self) -> &CreateSchedulingPolicyInputBuilder
Access the CreateSchedulingPolicy as a reference.
sourcepub async fn send(
self
) -> Result<CreateSchedulingPolicyOutput, SdkError<CreateSchedulingPolicyError, HttpResponse>>
pub async fn send( self ) -> Result<CreateSchedulingPolicyOutput, SdkError<CreateSchedulingPolicyError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CreateSchedulingPolicyOutput, CreateSchedulingPolicyError>, SdkError<CreateSchedulingPolicyError>>
pub async fn customize( self ) -> Result<CustomizableOperation<CreateSchedulingPolicyOutput, CreateSchedulingPolicyError>, SdkError<CreateSchedulingPolicyError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
Trait Implementations§
source§impl Clone for CreateSchedulingPolicyFluentBuilder
impl Clone for CreateSchedulingPolicyFluentBuilder
source§fn clone(&self) -> CreateSchedulingPolicyFluentBuilder
fn clone(&self) -> CreateSchedulingPolicyFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more