Struct aws_sdk_emr::types::ClusterSummary
source · #[non_exhaustive]pub struct ClusterSummary {
pub id: Option<String>,
pub name: Option<String>,
pub status: Option<ClusterStatus>,
pub normalized_instance_hours: Option<i32>,
pub cluster_arn: Option<String>,
pub outpost_arn: Option<String>,
}
Expand description
The summary description of the cluster.
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.id: Option<String>
The unique identifier for the cluster.
name: Option<String>
The name of the cluster.
status: Option<ClusterStatus>
The details about the current status of the cluster.
normalized_instance_hours: Option<i32>
An approximation of the cost of the cluster, represented in m1.small/hours. This value is incremented one time for every hour an m1.small instance runs. Larger instances are weighted more, so an Amazon EC2 instance that is roughly four times more expensive would result in the normalized instance hours being incremented by four. This result is only an approximation and does not reflect the actual billing rate.
cluster_arn: Option<String>
The Amazon Resource Name of the cluster.
outpost_arn: Option<String>
The Amazon Resource Name (ARN) of the Outpost where the cluster is launched.
Implementations§
source§impl ClusterSummary
impl ClusterSummary
sourcepub fn status(&self) -> Option<&ClusterStatus>
pub fn status(&self) -> Option<&ClusterStatus>
The details about the current status of the cluster.
sourcepub fn normalized_instance_hours(&self) -> Option<i32>
pub fn normalized_instance_hours(&self) -> Option<i32>
An approximation of the cost of the cluster, represented in m1.small/hours. This value is incremented one time for every hour an m1.small instance runs. Larger instances are weighted more, so an Amazon EC2 instance that is roughly four times more expensive would result in the normalized instance hours being incremented by four. This result is only an approximation and does not reflect the actual billing rate.
sourcepub fn cluster_arn(&self) -> Option<&str>
pub fn cluster_arn(&self) -> Option<&str>
The Amazon Resource Name of the cluster.
sourcepub fn outpost_arn(&self) -> Option<&str>
pub fn outpost_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the Outpost where the cluster is launched.
source§impl ClusterSummary
impl ClusterSummary
sourcepub fn builder() -> ClusterSummaryBuilder
pub fn builder() -> ClusterSummaryBuilder
Creates a new builder-style object to manufacture ClusterSummary
.
Trait Implementations§
source§impl Clone for ClusterSummary
impl Clone for ClusterSummary
source§fn clone(&self) -> ClusterSummary
fn clone(&self) -> ClusterSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ClusterSummary
impl Debug for ClusterSummary
source§impl PartialEq for ClusterSummary
impl PartialEq for ClusterSummary
source§fn eq(&self, other: &ClusterSummary) -> bool
fn eq(&self, other: &ClusterSummary) -> bool
self
and other
values to be equal, and is used
by ==
.