#[non_exhaustive]pub struct CreateClusterV2OutputBuilder { /* private fields */ }
Expand description
A builder for CreateClusterV2Output
.
Implementations§
source§impl CreateClusterV2OutputBuilder
impl CreateClusterV2OutputBuilder
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 cluster_type(self, input: ClusterType) -> Self
pub fn cluster_type(self, input: ClusterType) -> Self
The type of the cluster. The possible states are PROVISIONED or SERVERLESS.
sourcepub fn set_cluster_type(self, input: Option<ClusterType>) -> Self
pub fn set_cluster_type(self, input: Option<ClusterType>) -> Self
The type of the cluster. The possible states are PROVISIONED or SERVERLESS.
sourcepub fn get_cluster_type(&self) -> &Option<ClusterType>
pub fn get_cluster_type(&self) -> &Option<ClusterType>
The type of the cluster. The possible states are PROVISIONED or SERVERLESS.
sourcepub fn build(self) -> CreateClusterV2Output
pub fn build(self) -> CreateClusterV2Output
Consumes the builder and constructs a CreateClusterV2Output
.
Trait Implementations§
source§impl Clone for CreateClusterV2OutputBuilder
impl Clone for CreateClusterV2OutputBuilder
source§fn clone(&self) -> CreateClusterV2OutputBuilder
fn clone(&self) -> CreateClusterV2OutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateClusterV2OutputBuilder
impl Debug for CreateClusterV2OutputBuilder
source§impl Default for CreateClusterV2OutputBuilder
impl Default for CreateClusterV2OutputBuilder
source§fn default() -> CreateClusterV2OutputBuilder
fn default() -> CreateClusterV2OutputBuilder
source§impl PartialEq for CreateClusterV2OutputBuilder
impl PartialEq for CreateClusterV2OutputBuilder
source§fn eq(&self, other: &CreateClusterV2OutputBuilder) -> bool
fn eq(&self, other: &CreateClusterV2OutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateClusterV2OutputBuilder
Auto Trait Implementations§
impl Freeze for CreateClusterV2OutputBuilder
impl RefUnwindSafe for CreateClusterV2OutputBuilder
impl Send for CreateClusterV2OutputBuilder
impl Sync for CreateClusterV2OutputBuilder
impl Unpin for CreateClusterV2OutputBuilder
impl UnwindSafe for CreateClusterV2OutputBuilder
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
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>
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>
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 more