Struct aws_sdk_emr::types::builders::ClusterSummaryBuilder
source · #[non_exhaustive]pub struct ClusterSummaryBuilder { /* private fields */ }
Expand description
A builder for ClusterSummary
.
Implementations§
source§impl ClusterSummaryBuilder
impl ClusterSummaryBuilder
sourcepub fn status(self, input: ClusterStatus) -> Self
pub fn status(self, input: ClusterStatus) -> Self
The details about the current status of the cluster.
sourcepub fn set_status(self, input: Option<ClusterStatus>) -> Self
pub fn set_status(self, input: Option<ClusterStatus>) -> Self
The details about the current status of the cluster.
sourcepub fn get_status(&self) -> &Option<ClusterStatus>
pub fn get_status(&self) -> &Option<ClusterStatus>
The details about the current status of the cluster.
sourcepub fn normalized_instance_hours(self, input: i32) -> Self
pub fn normalized_instance_hours(self, input: i32) -> Self
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 set_normalized_instance_hours(self, input: Option<i32>) -> Self
pub fn set_normalized_instance_hours(self, input: Option<i32>) -> Self
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 get_normalized_instance_hours(&self) -> &Option<i32>
pub fn get_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, input: impl Into<String>) -> Self
pub fn cluster_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name of the cluster.
sourcepub fn set_cluster_arn(self, input: Option<String>) -> Self
pub fn set_cluster_arn(self, input: Option<String>) -> Self
The Amazon Resource Name of the cluster.
sourcepub fn get_cluster_arn(&self) -> &Option<String>
pub fn get_cluster_arn(&self) -> &Option<String>
The Amazon Resource Name of the cluster.
sourcepub fn outpost_arn(self, input: impl Into<String>) -> Self
pub fn outpost_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the Outpost where the cluster is launched.
sourcepub fn set_outpost_arn(self, input: Option<String>) -> Self
pub fn set_outpost_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the Outpost where the cluster is launched.
sourcepub fn get_outpost_arn(&self) -> &Option<String>
pub fn get_outpost_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the Outpost where the cluster is launched.
sourcepub fn build(self) -> ClusterSummary
pub fn build(self) -> ClusterSummary
Consumes the builder and constructs a ClusterSummary
.
Trait Implementations§
source§impl Clone for ClusterSummaryBuilder
impl Clone for ClusterSummaryBuilder
source§fn clone(&self) -> ClusterSummaryBuilder
fn clone(&self) -> ClusterSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ClusterSummaryBuilder
impl Debug for ClusterSummaryBuilder
source§impl Default for ClusterSummaryBuilder
impl Default for ClusterSummaryBuilder
source§fn default() -> ClusterSummaryBuilder
fn default() -> ClusterSummaryBuilder
source§impl PartialEq for ClusterSummaryBuilder
impl PartialEq for ClusterSummaryBuilder
source§fn eq(&self, other: &ClusterSummaryBuilder) -> bool
fn eq(&self, other: &ClusterSummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.