Struct aws_sdk_batch::types::builders::EksAttemptDetailBuilder
source · #[non_exhaustive]pub struct EksAttemptDetailBuilder { /* private fields */ }
Expand description
A builder for EksAttemptDetail
.
Implementations§
source§impl EksAttemptDetailBuilder
impl EksAttemptDetailBuilder
sourcepub fn containers(self, input: EksAttemptContainerDetail) -> Self
pub fn containers(self, input: EksAttemptContainerDetail) -> Self
Appends an item to containers
.
To override the contents of this collection use set_containers
.
The details for the final status of the containers for this job attempt.
sourcepub fn set_containers(
self,
input: Option<Vec<EksAttemptContainerDetail>>
) -> Self
pub fn set_containers( self, input: Option<Vec<EksAttemptContainerDetail>> ) -> Self
The details for the final status of the containers for this job attempt.
sourcepub fn get_containers(&self) -> &Option<Vec<EksAttemptContainerDetail>>
pub fn get_containers(&self) -> &Option<Vec<EksAttemptContainerDetail>>
The details for the final status of the containers for this job attempt.
sourcepub fn pod_name(self, input: impl Into<String>) -> Self
pub fn pod_name(self, input: impl Into<String>) -> Self
The name of the pod for this job attempt.
sourcepub fn set_pod_name(self, input: Option<String>) -> Self
pub fn set_pod_name(self, input: Option<String>) -> Self
The name of the pod for this job attempt.
sourcepub fn get_pod_name(&self) -> &Option<String>
pub fn get_pod_name(&self) -> &Option<String>
The name of the pod for this job attempt.
sourcepub fn node_name(self, input: impl Into<String>) -> Self
pub fn node_name(self, input: impl Into<String>) -> Self
The name of the node for this job attempt.
sourcepub fn set_node_name(self, input: Option<String>) -> Self
pub fn set_node_name(self, input: Option<String>) -> Self
The name of the node for this job attempt.
sourcepub fn get_node_name(&self) -> &Option<String>
pub fn get_node_name(&self) -> &Option<String>
The name of the node for this job attempt.
sourcepub fn started_at(self, input: i64) -> Self
pub fn started_at(self, input: i64) -> Self
The Unix timestamp (in milliseconds) for when the attempt was started (when the attempt transitioned from the STARTING
state to the RUNNING
state).
sourcepub fn set_started_at(self, input: Option<i64>) -> Self
pub fn set_started_at(self, input: Option<i64>) -> Self
The Unix timestamp (in milliseconds) for when the attempt was started (when the attempt transitioned from the STARTING
state to the RUNNING
state).
sourcepub fn get_started_at(&self) -> &Option<i64>
pub fn get_started_at(&self) -> &Option<i64>
The Unix timestamp (in milliseconds) for when the attempt was started (when the attempt transitioned from the STARTING
state to the RUNNING
state).
sourcepub fn stopped_at(self, input: i64) -> Self
pub fn stopped_at(self, input: i64) -> Self
The Unix timestamp (in milliseconds) for when the attempt was stopped. This happens when the attempt transitioned from the RUNNING
state to a terminal state, such as SUCCEEDED
or FAILED
.
sourcepub fn set_stopped_at(self, input: Option<i64>) -> Self
pub fn set_stopped_at(self, input: Option<i64>) -> Self
The Unix timestamp (in milliseconds) for when the attempt was stopped. This happens when the attempt transitioned from the RUNNING
state to a terminal state, such as SUCCEEDED
or FAILED
.
sourcepub fn get_stopped_at(&self) -> &Option<i64>
pub fn get_stopped_at(&self) -> &Option<i64>
The Unix timestamp (in milliseconds) for when the attempt was stopped. This happens when the attempt transitioned from the RUNNING
state to a terminal state, such as SUCCEEDED
or FAILED
.
sourcepub fn status_reason(self, input: impl Into<String>) -> Self
pub fn status_reason(self, input: impl Into<String>) -> Self
A short, human-readable string to provide additional details for the current status of the job attempt.
sourcepub fn set_status_reason(self, input: Option<String>) -> Self
pub fn set_status_reason(self, input: Option<String>) -> Self
A short, human-readable string to provide additional details for the current status of the job attempt.
sourcepub fn get_status_reason(&self) -> &Option<String>
pub fn get_status_reason(&self) -> &Option<String>
A short, human-readable string to provide additional details for the current status of the job attempt.
sourcepub fn build(self) -> EksAttemptDetail
pub fn build(self) -> EksAttemptDetail
Consumes the builder and constructs a EksAttemptDetail
.
Trait Implementations§
source§impl Clone for EksAttemptDetailBuilder
impl Clone for EksAttemptDetailBuilder
source§fn clone(&self) -> EksAttemptDetailBuilder
fn clone(&self) -> EksAttemptDetailBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EksAttemptDetailBuilder
impl Debug for EksAttemptDetailBuilder
source§impl Default for EksAttemptDetailBuilder
impl Default for EksAttemptDetailBuilder
source§fn default() -> EksAttemptDetailBuilder
fn default() -> EksAttemptDetailBuilder
source§impl PartialEq<EksAttemptDetailBuilder> for EksAttemptDetailBuilder
impl PartialEq<EksAttemptDetailBuilder> for EksAttemptDetailBuilder
source§fn eq(&self, other: &EksAttemptDetailBuilder) -> bool
fn eq(&self, other: &EksAttemptDetailBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.