Struct aws_sdk_deadline::operation::create_queue_environment::builders::CreateQueueEnvironmentInputBuilder
source · #[non_exhaustive]pub struct CreateQueueEnvironmentInputBuilder { /* private fields */ }Expand description
A builder for CreateQueueEnvironmentInput.
Implementations§
source§impl CreateQueueEnvironmentInputBuilder
impl CreateQueueEnvironmentInputBuilder
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.
This field is required.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.
This field is required.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.
This field is required.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.
This field is required.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.
sourcepub fn build(self) -> Result<CreateQueueEnvironmentInput, BuildError>
pub fn build(self) -> Result<CreateQueueEnvironmentInput, BuildError>
Consumes the builder and constructs a CreateQueueEnvironmentInput.
source§impl CreateQueueEnvironmentInputBuilder
impl CreateQueueEnvironmentInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateQueueEnvironmentOutput, SdkError<CreateQueueEnvironmentError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateQueueEnvironmentOutput, SdkError<CreateQueueEnvironmentError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateQueueEnvironmentInputBuilder
impl Clone for CreateQueueEnvironmentInputBuilder
source§fn clone(&self) -> CreateQueueEnvironmentInputBuilder
fn clone(&self) -> CreateQueueEnvironmentInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for CreateQueueEnvironmentInputBuilder
impl Default for CreateQueueEnvironmentInputBuilder
source§fn default() -> CreateQueueEnvironmentInputBuilder
fn default() -> CreateQueueEnvironmentInputBuilder
source§impl PartialEq for CreateQueueEnvironmentInputBuilder
impl PartialEq for CreateQueueEnvironmentInputBuilder
source§fn eq(&self, other: &CreateQueueEnvironmentInputBuilder) -> bool
fn eq(&self, other: &CreateQueueEnvironmentInputBuilder) -> bool
self and other values to be equal, and is used
by ==.