Struct aws_sdk_snowball::types::ClusterListEntry
source · #[non_exhaustive]pub struct ClusterListEntry {
pub cluster_id: Option<String>,
pub cluster_state: Option<ClusterState>,
pub creation_date: Option<DateTime>,
pub description: Option<String>,
}
Expand description
Contains a cluster's state, a cluster's ID, and other important information.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.cluster_id: Option<String>
The 39-character ID for the cluster that you want to list, for example CID123e4567-e89b-12d3-a456-426655440000
.
cluster_state: Option<ClusterState>
The current state of this cluster. For information about the state of a specific node, see JobListEntry$JobState
.
creation_date: Option<DateTime>
The creation date for this cluster.
description: Option<String>
Defines an optional description of the cluster, for example Environmental Data Cluster-01
.
Implementations§
source§impl ClusterListEntry
impl ClusterListEntry
sourcepub fn cluster_id(&self) -> Option<&str>
pub fn cluster_id(&self) -> Option<&str>
The 39-character ID for the cluster that you want to list, for example CID123e4567-e89b-12d3-a456-426655440000
.
sourcepub fn cluster_state(&self) -> Option<&ClusterState>
pub fn cluster_state(&self) -> Option<&ClusterState>
The current state of this cluster. For information about the state of a specific node, see JobListEntry$JobState
.
sourcepub fn creation_date(&self) -> Option<&DateTime>
pub fn creation_date(&self) -> Option<&DateTime>
The creation date for this cluster.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
Defines an optional description of the cluster, for example Environmental Data Cluster-01
.
source§impl ClusterListEntry
impl ClusterListEntry
sourcepub fn builder() -> ClusterListEntryBuilder
pub fn builder() -> ClusterListEntryBuilder
Creates a new builder-style object to manufacture ClusterListEntry
.
Trait Implementations§
source§impl Clone for ClusterListEntry
impl Clone for ClusterListEntry
source§fn clone(&self) -> ClusterListEntry
fn clone(&self) -> ClusterListEntry
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ClusterListEntry
impl Debug for ClusterListEntry
source§impl PartialEq for ClusterListEntry
impl PartialEq for ClusterListEntry
source§fn eq(&self, other: &ClusterListEntry) -> bool
fn eq(&self, other: &ClusterListEntry) -> bool
self
and other
values to be equal, and is used
by ==
.