Struct aws_sdk_batch::types::builders::AttemptDetailBuilder
source · #[non_exhaustive]pub struct AttemptDetailBuilder { /* private fields */ }
Expand description
A builder for AttemptDetail
.
Implementations§
source§impl AttemptDetailBuilder
impl AttemptDetailBuilder
sourcepub fn container(self, input: AttemptContainerDetail) -> Self
pub fn container(self, input: AttemptContainerDetail) -> Self
The details for the container in this job attempt.
sourcepub fn set_container(self, input: Option<AttemptContainerDetail>) -> Self
pub fn set_container(self, input: Option<AttemptContainerDetail>) -> Self
The details for the container in 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 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 (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 (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 build(self) -> AttemptDetail
pub fn build(self) -> AttemptDetail
Consumes the builder and constructs a AttemptDetail
.
Trait Implementations§
source§impl Clone for AttemptDetailBuilder
impl Clone for AttemptDetailBuilder
source§fn clone(&self) -> AttemptDetailBuilder
fn clone(&self) -> AttemptDetailBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AttemptDetailBuilder
impl Debug for AttemptDetailBuilder
source§impl Default for AttemptDetailBuilder
impl Default for AttemptDetailBuilder
source§fn default() -> AttemptDetailBuilder
fn default() -> AttemptDetailBuilder
source§impl PartialEq<AttemptDetailBuilder> for AttemptDetailBuilder
impl PartialEq<AttemptDetailBuilder> for AttemptDetailBuilder
source§fn eq(&self, other: &AttemptDetailBuilder) -> bool
fn eq(&self, other: &AttemptDetailBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.