Struct aws_sdk_deadline::operation::get_task::builders::GetTaskFluentBuilder
source · pub struct GetTaskFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to GetTask.
Gets a task.
Implementations§
source§impl GetTaskFluentBuilder
impl GetTaskFluentBuilder
sourcepub fn as_input(&self) -> &GetTaskInputBuilder
pub fn as_input(&self) -> &GetTaskInputBuilder
Access the GetTask as a reference.
sourcepub async fn send(
self
) -> Result<GetTaskOutput, SdkError<GetTaskError, HttpResponse>>
pub async fn send( self ) -> Result<GetTaskOutput, SdkError<GetTaskError, 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<GetTaskOutput, GetTaskError, Self>
pub fn customize( self ) -> CustomizableOperation<GetTaskOutput, GetTaskError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 connected to the task.
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 connected to the task.
sourcepub fn get_farm_id(&self) -> &Option<String>
pub fn get_farm_id(&self) -> &Option<String>
The farm ID of the farm connected to the task.
sourcepub fn queue_id(self, input: impl Into<String>) -> Self
pub fn queue_id(self, input: impl Into<String>) -> Self
The queue ID for the queue connected to the task.
sourcepub fn set_queue_id(self, input: Option<String>) -> Self
pub fn set_queue_id(self, input: Option<String>) -> Self
The queue ID for the queue connected to the task.
sourcepub fn get_queue_id(&self) -> &Option<String>
pub fn get_queue_id(&self) -> &Option<String>
The queue ID for the queue connected to the task.
sourcepub fn job_id(self, input: impl Into<String>) -> Self
pub fn job_id(self, input: impl Into<String>) -> Self
The job ID of the job connected to the task.
sourcepub fn set_job_id(self, input: Option<String>) -> Self
pub fn set_job_id(self, input: Option<String>) -> Self
The job ID of the job connected to the task.
sourcepub fn get_job_id(&self) -> &Option<String>
pub fn get_job_id(&self) -> &Option<String>
The job ID of the job connected to the task.
sourcepub fn step_id(self, input: impl Into<String>) -> Self
pub fn step_id(self, input: impl Into<String>) -> Self
The step ID for the step connected to the task.
sourcepub fn set_step_id(self, input: Option<String>) -> Self
pub fn set_step_id(self, input: Option<String>) -> Self
The step ID for the step connected to the task.
sourcepub fn get_step_id(&self) -> &Option<String>
pub fn get_step_id(&self) -> &Option<String>
The step ID for the step connected to the task.
sourcepub fn set_task_id(self, input: Option<String>) -> Self
pub fn set_task_id(self, input: Option<String>) -> Self
The task ID.
sourcepub fn get_task_id(&self) -> &Option<String>
pub fn get_task_id(&self) -> &Option<String>
The task ID.
Trait Implementations§
source§impl Clone for GetTaskFluentBuilder
impl Clone for GetTaskFluentBuilder
source§fn clone(&self) -> GetTaskFluentBuilder
fn clone(&self) -> GetTaskFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more