Struct aws_sdk_emr::model::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 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
sourceimpl 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 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.
sourceimpl ClusterSummary
impl ClusterSummary
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ClusterSummary
Trait Implementations
sourceimpl Clone for ClusterSummary
impl Clone for ClusterSummary
sourcefn clone(&self) -> ClusterSummary
fn clone(&self) -> ClusterSummary
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ClusterSummary
impl Debug for ClusterSummary
sourceimpl PartialEq<ClusterSummary> for ClusterSummary
impl PartialEq<ClusterSummary> for ClusterSummary
sourcefn eq(&self, other: &ClusterSummary) -> bool
fn eq(&self, other: &ClusterSummary) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &ClusterSummary) -> bool
fn ne(&self, other: &ClusterSummary) -> bool
This method tests for !=.
impl StructuralPartialEq for ClusterSummary
Auto Trait Implementations
impl RefUnwindSafe for ClusterSummary
impl Send for ClusterSummary
impl Sync for ClusterSummary
impl Unpin for ClusterSummary
impl UnwindSafe for ClusterSummary
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more