Struct aws_sdk_deadline::operation::get_task::builders::GetTaskInputBuilder
source · #[non_exhaustive]pub struct GetTaskInputBuilder { /* private fields */ }Expand description
A builder for GetTaskInput.
Implementations§
source§impl GetTaskInputBuilder
impl GetTaskInputBuilder
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.
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 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.
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 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.
This field is required.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.
This field is required.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.
sourcepub fn build(self) -> Result<GetTaskInput, BuildError>
pub fn build(self) -> Result<GetTaskInput, BuildError>
Consumes the builder and constructs a GetTaskInput.
source§impl GetTaskInputBuilder
impl GetTaskInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetTaskOutput, SdkError<GetTaskError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetTaskOutput, SdkError<GetTaskError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetTaskInputBuilder
impl Clone for GetTaskInputBuilder
source§fn clone(&self) -> GetTaskInputBuilder
fn clone(&self) -> GetTaskInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for GetTaskInputBuilder
impl Debug for GetTaskInputBuilder
source§impl Default for GetTaskInputBuilder
impl Default for GetTaskInputBuilder
source§fn default() -> GetTaskInputBuilder
fn default() -> GetTaskInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetTaskInputBuilder
impl PartialEq for GetTaskInputBuilder
source§fn eq(&self, other: &GetTaskInputBuilder) -> bool
fn eq(&self, other: &GetTaskInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetTaskInputBuilder
Auto Trait Implementations§
impl Freeze for GetTaskInputBuilder
impl RefUnwindSafe for GetTaskInputBuilder
impl Send for GetTaskInputBuilder
impl Sync for GetTaskInputBuilder
impl Unpin for GetTaskInputBuilder
impl UnwindSafe for GetTaskInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.