Struct aws_sdk_cloudhsmv2::operation::initialize_cluster::builders::InitializeClusterOutputBuilder
source · #[non_exhaustive]pub struct InitializeClusterOutputBuilder { /* private fields */ }Expand description
A builder for InitializeClusterOutput.
Implementations§
source§impl InitializeClusterOutputBuilder
impl InitializeClusterOutputBuilder
sourcepub fn state(self, input: ClusterState) -> Self
pub fn state(self, input: ClusterState) -> Self
The cluster's state.
sourcepub fn set_state(self, input: Option<ClusterState>) -> Self
pub fn set_state(self, input: Option<ClusterState>) -> Self
The cluster's state.
sourcepub fn get_state(&self) -> &Option<ClusterState>
pub fn get_state(&self) -> &Option<ClusterState>
The cluster's state.
sourcepub fn state_message(self, input: impl Into<String>) -> Self
pub fn state_message(self, input: impl Into<String>) -> Self
A description of the cluster's state.
sourcepub fn set_state_message(self, input: Option<String>) -> Self
pub fn set_state_message(self, input: Option<String>) -> Self
A description of the cluster's state.
sourcepub fn get_state_message(&self) -> &Option<String>
pub fn get_state_message(&self) -> &Option<String>
A description of the cluster's state.
sourcepub fn build(self) -> InitializeClusterOutput
pub fn build(self) -> InitializeClusterOutput
Consumes the builder and constructs a InitializeClusterOutput.
Trait Implementations§
source§impl Clone for InitializeClusterOutputBuilder
impl Clone for InitializeClusterOutputBuilder
source§fn clone(&self) -> InitializeClusterOutputBuilder
fn clone(&self) -> InitializeClusterOutputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for InitializeClusterOutputBuilder
impl Default for InitializeClusterOutputBuilder
source§fn default() -> InitializeClusterOutputBuilder
fn default() -> InitializeClusterOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for InitializeClusterOutputBuilder
impl PartialEq for InitializeClusterOutputBuilder
source§fn eq(&self, other: &InitializeClusterOutputBuilder) -> bool
fn eq(&self, other: &InitializeClusterOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for InitializeClusterOutputBuilder
Auto Trait Implementations§
impl Freeze for InitializeClusterOutputBuilder
impl RefUnwindSafe for InitializeClusterOutputBuilder
impl Send for InitializeClusterOutputBuilder
impl Sync for InitializeClusterOutputBuilder
impl Unpin for InitializeClusterOutputBuilder
impl UnwindSafe for InitializeClusterOutputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.