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 init_containers(self, input: EksAttemptContainerDetail) -> Self
pub fn init_containers(self, input: EksAttemptContainerDetail) -> Self
Appends an item to init_containers.
To override the contents of this collection use set_init_containers.
The details for the init containers.
sourcepub fn set_init_containers(
self,
input: Option<Vec<EksAttemptContainerDetail>>,
) -> Self
pub fn set_init_containers( self, input: Option<Vec<EksAttemptContainerDetail>>, ) -> Self
The details for the init containers.
sourcepub fn get_init_containers(&self) -> &Option<Vec<EksAttemptContainerDetail>>
pub fn get_init_containers(&self) -> &Option<Vec<EksAttemptContainerDetail>>
The details for the init containers.
sourcepub fn eks_cluster_arn(self, input: impl Into<String>) -> Self
pub fn eks_cluster_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the Amazon EKS cluster.
sourcepub fn set_eks_cluster_arn(self, input: Option<String>) -> Self
pub fn set_eks_cluster_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the Amazon EKS cluster.
sourcepub fn get_eks_cluster_arn(&self) -> &Option<String>
pub fn get_eks_cluster_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the Amazon EKS cluster.
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 for EksAttemptDetailBuilder
impl PartialEq 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 ==.impl StructuralPartialEq for EksAttemptDetailBuilder
Auto Trait Implementations§
impl Freeze for EksAttemptDetailBuilder
impl RefUnwindSafe for EksAttemptDetailBuilder
impl Send for EksAttemptDetailBuilder
impl Sync for EksAttemptDetailBuilder
impl Unpin for EksAttemptDetailBuilder
impl UnwindSafe for EksAttemptDetailBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more