Struct aws_sdk_deadline::operation::create_queue_environment::builders::CreateQueueEnvironmentFluentBuilder
source · pub struct CreateQueueEnvironmentFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to CreateQueueEnvironment.
Creates an environment for a queue that defines how jobs in the queue run.
Implementations§
source§impl CreateQueueEnvironmentFluentBuilder
impl CreateQueueEnvironmentFluentBuilder
sourcepub fn as_input(&self) -> &CreateQueueEnvironmentInputBuilder
pub fn as_input(&self) -> &CreateQueueEnvironmentInputBuilder
Access the CreateQueueEnvironment as a reference.
sourcepub async fn send(
self
) -> Result<CreateQueueEnvironmentOutput, SdkError<CreateQueueEnvironmentError, HttpResponse>>
pub async fn send( self ) -> Result<CreateQueueEnvironmentOutput, SdkError<CreateQueueEnvironmentError, 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 fn customize(
self
) -> CustomizableOperation<CreateQueueEnvironmentOutput, CreateQueueEnvironmentError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateQueueEnvironmentOutput, CreateQueueEnvironmentError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
The unique token which the server uses to recognize retries of the same request.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
The unique token which the server uses to recognize retries of the same request.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
The unique token which the server uses to recognize retries of the same request.
sourcepub fn farm_id(self, input: impl Into<String>) -> Self
pub fn farm_id(self, input: impl Into<String>) -> Self
The farm ID of the farm to connect to the environment.
sourcepub fn set_farm_id(self, input: Option<String>) -> Self
pub fn set_farm_id(self, input: Option<String>) -> Self
The farm ID of the farm to connect to the environment.
sourcepub fn get_farm_id(&self) -> &Option<String>
pub fn get_farm_id(&self) -> &Option<String>
The farm ID of the farm to connect to the environment.
sourcepub fn queue_id(self, input: impl Into<String>) -> Self
pub fn queue_id(self, input: impl Into<String>) -> Self
The queue ID to connect the queue and environment.
sourcepub fn set_queue_id(self, input: Option<String>) -> Self
pub fn set_queue_id(self, input: Option<String>) -> Self
The queue ID to connect the queue and environment.
sourcepub fn get_queue_id(&self) -> &Option<String>
pub fn get_queue_id(&self) -> &Option<String>
The queue ID to connect the queue and environment.
sourcepub fn priority(self, input: i32) -> Self
pub fn priority(self, input: i32) -> Self
Sets the priority of the environments in the queue from 0 to 10,000, where 0 is the highest priority. If two environments share the same priority value, the environment created first takes higher priority.
sourcepub fn set_priority(self, input: Option<i32>) -> Self
pub fn set_priority(self, input: Option<i32>) -> Self
Sets the priority of the environments in the queue from 0 to 10,000, where 0 is the highest priority. If two environments share the same priority value, the environment created first takes higher priority.
sourcepub fn get_priority(&self) -> &Option<i32>
pub fn get_priority(&self) -> &Option<i32>
Sets the priority of the environments in the queue from 0 to 10,000, where 0 is the highest priority. If two environments share the same priority value, the environment created first takes higher priority.
sourcepub fn template_type(self, input: EnvironmentTemplateType) -> Self
pub fn template_type(self, input: EnvironmentTemplateType) -> Self
The template's file type, JSON or YAML.
sourcepub fn set_template_type(self, input: Option<EnvironmentTemplateType>) -> Self
pub fn set_template_type(self, input: Option<EnvironmentTemplateType>) -> Self
The template's file type, JSON or YAML.
sourcepub fn get_template_type(&self) -> &Option<EnvironmentTemplateType>
pub fn get_template_type(&self) -> &Option<EnvironmentTemplateType>
The template's file type, JSON or YAML.
sourcepub fn template(self, input: impl Into<String>) -> Self
pub fn template(self, input: impl Into<String>) -> Self
The environment template to use in the queue.
sourcepub fn set_template(self, input: Option<String>) -> Self
pub fn set_template(self, input: Option<String>) -> Self
The environment template to use in the queue.
sourcepub fn get_template(&self) -> &Option<String>
pub fn get_template(&self) -> &Option<String>
The environment template to use in the queue.
Trait Implementations§
source§impl Clone for CreateQueueEnvironmentFluentBuilder
impl Clone for CreateQueueEnvironmentFluentBuilder
source§fn clone(&self) -> CreateQueueEnvironmentFluentBuilder
fn clone(&self) -> CreateQueueEnvironmentFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more