#[non_exhaustive]pub struct DescribeTasksInputBuilder { /* private fields */ }
Expand description
A builder for DescribeTasksInput
.
Implementations§
source§impl DescribeTasksInputBuilder
impl DescribeTasksInputBuilder
sourcepub fn cluster(self, input: impl Into<String>) -> Self
pub fn cluster(self, input: impl Into<String>) -> Self
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task or tasks to describe. If you do not specify a cluster, the default cluster is assumed. This parameter is required if the task or tasks you are describing were launched in any cluster other than the default cluster.
sourcepub fn set_cluster(self, input: Option<String>) -> Self
pub fn set_cluster(self, input: Option<String>) -> Self
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task or tasks to describe. If you do not specify a cluster, the default cluster is assumed. This parameter is required if the task or tasks you are describing were launched in any cluster other than the default cluster.
sourcepub fn get_cluster(&self) -> &Option<String>
pub fn get_cluster(&self) -> &Option<String>
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task or tasks to describe. If you do not specify a cluster, the default cluster is assumed. This parameter is required if the task or tasks you are describing were launched in any cluster other than the default cluster.
sourcepub fn tasks(self, input: impl Into<String>) -> Self
pub fn tasks(self, input: impl Into<String>) -> Self
Appends an item to tasks
.
To override the contents of this collection use set_tasks
.
A list of up to 100 task IDs or full ARN entries.
sourcepub fn set_tasks(self, input: Option<Vec<String>>) -> Self
pub fn set_tasks(self, input: Option<Vec<String>>) -> Self
A list of up to 100 task IDs or full ARN entries.
sourcepub fn get_tasks(&self) -> &Option<Vec<String>>
pub fn get_tasks(&self) -> &Option<Vec<String>>
A list of up to 100 task IDs or full ARN entries.
sourcepub fn include(self, input: TaskField) -> Self
pub fn include(self, input: TaskField) -> Self
Appends an item to include
.
To override the contents of this collection use set_include
.
Specifies whether you want to see the resource tags for the task. If TAGS
is specified, the tags are included in the response. If this field is omitted, tags aren't included in the response.
sourcepub fn set_include(self, input: Option<Vec<TaskField>>) -> Self
pub fn set_include(self, input: Option<Vec<TaskField>>) -> Self
Specifies whether you want to see the resource tags for the task. If TAGS
is specified, the tags are included in the response. If this field is omitted, tags aren't included in the response.
sourcepub fn get_include(&self) -> &Option<Vec<TaskField>>
pub fn get_include(&self) -> &Option<Vec<TaskField>>
Specifies whether you want to see the resource tags for the task. If TAGS
is specified, the tags are included in the response. If this field is omitted, tags aren't included in the response.
sourcepub fn build(self) -> Result<DescribeTasksInput, BuildError>
pub fn build(self) -> Result<DescribeTasksInput, BuildError>
Consumes the builder and constructs a DescribeTasksInput
.
source§impl DescribeTasksInputBuilder
impl DescribeTasksInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DescribeTasksOutput, SdkError<DescribeTasksError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DescribeTasksOutput, SdkError<DescribeTasksError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DescribeTasksInputBuilder
impl Clone for DescribeTasksInputBuilder
source§fn clone(&self) -> DescribeTasksInputBuilder
fn clone(&self) -> DescribeTasksInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DescribeTasksInputBuilder
impl Debug for DescribeTasksInputBuilder
source§impl Default for DescribeTasksInputBuilder
impl Default for DescribeTasksInputBuilder
source§fn default() -> DescribeTasksInputBuilder
fn default() -> DescribeTasksInputBuilder
source§impl PartialEq for DescribeTasksInputBuilder
impl PartialEq for DescribeTasksInputBuilder
source§fn eq(&self, other: &DescribeTasksInputBuilder) -> bool
fn eq(&self, other: &DescribeTasksInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.