#[non_exhaustive]pub struct AwsEcsTaskDetailsBuilder { /* private fields */ }
Expand description
A builder for AwsEcsTaskDetails
.
Implementations§
source§impl AwsEcsTaskDetailsBuilder
impl AwsEcsTaskDetailsBuilder
sourcepub fn cluster_arn(self, input: impl Into<String>) -> Self
pub fn cluster_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the cluster that hosts the task.
sourcepub fn set_cluster_arn(self, input: Option<String>) -> Self
pub fn set_cluster_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the cluster that hosts the task.
sourcepub fn get_cluster_arn(&self) -> &Option<String>
pub fn get_cluster_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the cluster that hosts the task.
sourcepub fn task_definition_arn(self, input: impl Into<String>) -> Self
pub fn task_definition_arn(self, input: impl Into<String>) -> Self
The ARN of the task definition that creates the task.
sourcepub fn set_task_definition_arn(self, input: Option<String>) -> Self
pub fn set_task_definition_arn(self, input: Option<String>) -> Self
The ARN of the task definition that creates the task.
sourcepub fn get_task_definition_arn(&self) -> &Option<String>
pub fn get_task_definition_arn(&self) -> &Option<String>
The ARN of the task definition that creates the task.
sourcepub fn set_version(self, input: Option<String>) -> Self
pub fn set_version(self, input: Option<String>) -> Self
The version counter for the task.
sourcepub fn get_version(&self) -> &Option<String>
pub fn get_version(&self) -> &Option<String>
The version counter for the task.
sourcepub fn created_at(self, input: impl Into<String>) -> Self
pub fn created_at(self, input: impl Into<String>) -> Self
The Unix timestamp for the time when the task was created. More specifically, it's for the time when the task entered the PENDING
state.
sourcepub fn set_created_at(self, input: Option<String>) -> Self
pub fn set_created_at(self, input: Option<String>) -> Self
The Unix timestamp for the time when the task was created. More specifically, it's for the time when the task entered the PENDING
state.
sourcepub fn get_created_at(&self) -> &Option<String>
pub fn get_created_at(&self) -> &Option<String>
The Unix timestamp for the time when the task was created. More specifically, it's for the time when the task entered the PENDING
state.
sourcepub fn started_at(self, input: impl Into<String>) -> Self
pub fn started_at(self, input: impl Into<String>) -> Self
The Unix timestamp for the time when the task started. More specifically, it's for the time when the task transitioned from the PENDING
state to the RUNNING
state.
sourcepub fn set_started_at(self, input: Option<String>) -> Self
pub fn set_started_at(self, input: Option<String>) -> Self
The Unix timestamp for the time when the task started. More specifically, it's for the time when the task transitioned from the PENDING
state to the RUNNING
state.
sourcepub fn get_started_at(&self) -> &Option<String>
pub fn get_started_at(&self) -> &Option<String>
The Unix timestamp for the time when the task started. More specifically, it's for the time when the task transitioned from the PENDING
state to the RUNNING
state.
sourcepub fn started_by(self, input: impl Into<String>) -> Self
pub fn started_by(self, input: impl Into<String>) -> Self
The tag specified when a task is started. If an Amazon ECS service started the task, the startedBy
parameter contains the deployment ID of that service.
sourcepub fn set_started_by(self, input: Option<String>) -> Self
pub fn set_started_by(self, input: Option<String>) -> Self
The tag specified when a task is started. If an Amazon ECS service started the task, the startedBy
parameter contains the deployment ID of that service.
sourcepub fn get_started_by(&self) -> &Option<String>
pub fn get_started_by(&self) -> &Option<String>
The tag specified when a task is started. If an Amazon ECS service started the task, the startedBy
parameter contains the deployment ID of that service.
sourcepub fn group(self, input: impl Into<String>) -> Self
pub fn group(self, input: impl Into<String>) -> Self
The name of the task group that's associated with the task.
sourcepub fn set_group(self, input: Option<String>) -> Self
pub fn set_group(self, input: Option<String>) -> Self
The name of the task group that's associated with the task.
sourcepub fn get_group(&self) -> &Option<String>
pub fn get_group(&self) -> &Option<String>
The name of the task group that's associated with the task.
sourcepub fn volumes(self, input: AwsEcsTaskVolumeDetails) -> Self
pub fn volumes(self, input: AwsEcsTaskVolumeDetails) -> Self
Appends an item to volumes
.
To override the contents of this collection use set_volumes
.
Details about the data volume that is used in a task definition.
sourcepub fn set_volumes(self, input: Option<Vec<AwsEcsTaskVolumeDetails>>) -> Self
pub fn set_volumes(self, input: Option<Vec<AwsEcsTaskVolumeDetails>>) -> Self
Details about the data volume that is used in a task definition.
sourcepub fn get_volumes(&self) -> &Option<Vec<AwsEcsTaskVolumeDetails>>
pub fn get_volumes(&self) -> &Option<Vec<AwsEcsTaskVolumeDetails>>
Details about the data volume that is used in a task definition.
sourcepub fn containers(self, input: AwsEcsContainerDetails) -> Self
pub fn containers(self, input: AwsEcsContainerDetails) -> Self
Appends an item to containers
.
To override the contents of this collection use set_containers
.
The containers that are associated with the task.
sourcepub fn set_containers(self, input: Option<Vec<AwsEcsContainerDetails>>) -> Self
pub fn set_containers(self, input: Option<Vec<AwsEcsContainerDetails>>) -> Self
The containers that are associated with the task.
sourcepub fn get_containers(&self) -> &Option<Vec<AwsEcsContainerDetails>>
pub fn get_containers(&self) -> &Option<Vec<AwsEcsContainerDetails>>
The containers that are associated with the task.
sourcepub fn build(self) -> AwsEcsTaskDetails
pub fn build(self) -> AwsEcsTaskDetails
Consumes the builder and constructs a AwsEcsTaskDetails
.
Trait Implementations§
source§impl Clone for AwsEcsTaskDetailsBuilder
impl Clone for AwsEcsTaskDetailsBuilder
source§fn clone(&self) -> AwsEcsTaskDetailsBuilder
fn clone(&self) -> AwsEcsTaskDetailsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AwsEcsTaskDetailsBuilder
impl Debug for AwsEcsTaskDetailsBuilder
source§impl Default for AwsEcsTaskDetailsBuilder
impl Default for AwsEcsTaskDetailsBuilder
source§fn default() -> AwsEcsTaskDetailsBuilder
fn default() -> AwsEcsTaskDetailsBuilder
source§impl PartialEq for AwsEcsTaskDetailsBuilder
impl PartialEq for AwsEcsTaskDetailsBuilder
source§fn eq(&self, other: &AwsEcsTaskDetailsBuilder) -> bool
fn eq(&self, other: &AwsEcsTaskDetailsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.