pub struct CreateSchedulingPolicy { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateSchedulingPolicy
.
Creates an Batch scheduling policy.
Implementations§
source§impl CreateSchedulingPolicy
impl CreateSchedulingPolicy
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CreateSchedulingPolicy, AwsResponseRetryClassifier>, SdkError<CreateSchedulingPolicyError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<CreateSchedulingPolicy, AwsResponseRetryClassifier>, SdkError<CreateSchedulingPolicyError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<CreateSchedulingPolicyOutput, SdkError<CreateSchedulingPolicyError>>
pub async fn send(
self
) -> Result<CreateSchedulingPolicyOutput, SdkError<CreateSchedulingPolicyError>>
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 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 (_).
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.
Trait Implementations§
source§impl Clone for CreateSchedulingPolicy
impl Clone for CreateSchedulingPolicy
source§fn clone(&self) -> CreateSchedulingPolicy
fn clone(&self) -> CreateSchedulingPolicy
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more