#[non_exhaustive]pub struct CreateClusterOutputBuilder { /* private fields */ }Expand description
A builder for CreateClusterOutput.
Implementations§
source§impl CreateClusterOutputBuilder
 
impl CreateClusterOutputBuilder
sourcepub fn cluster_arn(self, input: impl Into<String>) -> Self
 
pub fn cluster_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) 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 (ARN) of the cluster.
sourcepub fn get_cluster_arn(&self) -> &Option<String>
 
pub fn get_cluster_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the cluster.
sourcepub fn cluster_name(self, input: impl Into<String>) -> Self
 
pub fn cluster_name(self, input: impl Into<String>) -> Self
The name of the MSK cluster.
sourcepub fn set_cluster_name(self, input: Option<String>) -> Self
 
pub fn set_cluster_name(self, input: Option<String>) -> Self
The name of the MSK cluster.
sourcepub fn get_cluster_name(&self) -> &Option<String>
 
pub fn get_cluster_name(&self) -> &Option<String>
The name of the MSK cluster.
sourcepub fn state(self, input: ClusterState) -> Self
 
pub fn state(self, input: ClusterState) -> Self
The state of the cluster. The possible states are ACTIVE, CREATING, DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING_BROKER, and UPDATING.
sourcepub fn set_state(self, input: Option<ClusterState>) -> Self
 
pub fn set_state(self, input: Option<ClusterState>) -> Self
The state of the cluster. The possible states are ACTIVE, CREATING, DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING_BROKER, and UPDATING.
sourcepub fn get_state(&self) -> &Option<ClusterState>
 
pub fn get_state(&self) -> &Option<ClusterState>
The state of the cluster. The possible states are ACTIVE, CREATING, DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING_BROKER, and UPDATING.
sourcepub fn build(self) -> CreateClusterOutput
 
pub fn build(self) -> CreateClusterOutput
Consumes the builder and constructs a CreateClusterOutput.
Trait Implementations§
source§impl Clone for CreateClusterOutputBuilder
 
impl Clone for CreateClusterOutputBuilder
source§fn clone(&self) -> CreateClusterOutputBuilder
 
fn clone(&self) -> CreateClusterOutputBuilder
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 Debug for CreateClusterOutputBuilder
 
impl Debug for CreateClusterOutputBuilder
source§impl Default for CreateClusterOutputBuilder
 
impl Default for CreateClusterOutputBuilder
source§fn default() -> CreateClusterOutputBuilder
 
fn default() -> CreateClusterOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CreateClusterOutputBuilder
 
impl PartialEq for CreateClusterOutputBuilder
source§fn eq(&self, other: &CreateClusterOutputBuilder) -> bool
 
fn eq(&self, other: &CreateClusterOutputBuilder) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateClusterOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateClusterOutputBuilder
impl RefUnwindSafe for CreateClusterOutputBuilder
impl Send for CreateClusterOutputBuilder
impl Sync for CreateClusterOutputBuilder
impl Unpin for CreateClusterOutputBuilder
impl UnwindSafe for CreateClusterOutputBuilder
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.