Struct aws_sdk_emr::types::ClusterStatus
source · #[non_exhaustive]pub struct ClusterStatus {
pub state: Option<ClusterState>,
pub state_change_reason: Option<ClusterStateChangeReason>,
pub timeline: Option<ClusterTimeline>,
pub error_details: Option<Vec<ErrorDetail>>,
}
Expand description
The detailed status of the cluster.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.state: Option<ClusterState>
The current state of the cluster.
state_change_reason: Option<ClusterStateChangeReason>
The reason for the cluster status change.
timeline: Option<ClusterTimeline>
A timeline that represents the status of a cluster over the lifetime of the cluster.
error_details: Option<Vec<ErrorDetail>>
A list of tuples that provides information about the errors that caused a cluster to terminate. This structure can contain up to 10 different ErrorDetail
tuples.
Implementations§
source§impl ClusterStatus
impl ClusterStatus
sourcepub fn state(&self) -> Option<&ClusterState>
pub fn state(&self) -> Option<&ClusterState>
The current state of the cluster.
sourcepub fn state_change_reason(&self) -> Option<&ClusterStateChangeReason>
pub fn state_change_reason(&self) -> Option<&ClusterStateChangeReason>
The reason for the cluster status change.
sourcepub fn timeline(&self) -> Option<&ClusterTimeline>
pub fn timeline(&self) -> Option<&ClusterTimeline>
A timeline that represents the status of a cluster over the lifetime of the cluster.
sourcepub fn error_details(&self) -> Option<&[ErrorDetail]>
pub fn error_details(&self) -> Option<&[ErrorDetail]>
A list of tuples that provides information about the errors that caused a cluster to terminate. This structure can contain up to 10 different ErrorDetail
tuples.
source§impl ClusterStatus
impl ClusterStatus
sourcepub fn builder() -> ClusterStatusBuilder
pub fn builder() -> ClusterStatusBuilder
Creates a new builder-style object to manufacture ClusterStatus
.
Trait Implementations§
source§impl Clone for ClusterStatus
impl Clone for ClusterStatus
source§fn clone(&self) -> ClusterStatus
fn clone(&self) -> ClusterStatus
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ClusterStatus
impl Debug for ClusterStatus
source§impl PartialEq for ClusterStatus
impl PartialEq for ClusterStatus
source§fn eq(&self, other: &ClusterStatus) -> bool
fn eq(&self, other: &ClusterStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ClusterStatus
Auto Trait Implementations§
impl RefUnwindSafe for ClusterStatus
impl Send for ClusterStatus
impl Sync for ClusterStatus
impl Unpin for ClusterStatus
impl UnwindSafe for ClusterStatus
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
Mutably borrows from an owned value. Read more