Struct aws_sdk_emr::model::cluster_status::Builder
source · [−]pub struct Builder { /* private fields */ }Expand description
A builder for ClusterStatus.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn state(self, input: ClusterState) -> Self
pub fn state(self, input: ClusterState) -> Self
The current state of the cluster.
sourcepub fn set_state(self, input: Option<ClusterState>) -> Self
pub fn set_state(self, input: Option<ClusterState>) -> Self
The current state of the cluster.
sourcepub fn state_change_reason(self, input: ClusterStateChangeReason) -> Self
pub fn state_change_reason(self, input: ClusterStateChangeReason) -> Self
The reason for the cluster status change.
sourcepub fn set_state_change_reason(
self,
input: Option<ClusterStateChangeReason>
) -> Self
pub fn set_state_change_reason(
self,
input: Option<ClusterStateChangeReason>
) -> Self
The reason for the cluster status change.
sourcepub fn timeline(self, input: ClusterTimeline) -> Self
pub fn timeline(self, input: ClusterTimeline) -> Self
A timeline that represents the status of a cluster over the lifetime of the cluster.
sourcepub fn set_timeline(self, input: Option<ClusterTimeline>) -> Self
pub fn set_timeline(self, input: Option<ClusterTimeline>) -> Self
A timeline that represents the status of a cluster over the lifetime of the cluster.
sourcepub fn build(self) -> ClusterStatus
pub fn build(self) -> ClusterStatus
Consumes the builder and constructs a ClusterStatus.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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