#[non_exhaustive]pub struct Builder { /* private fields */ }Expand description
A builder for Cluster
Implementations
sourceimpl Builder
impl Builder
sourcepub fn active_operation_arn(self, input: impl Into<String>) -> Self
pub fn active_operation_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) that uniquely identifies a cluster operation.
sourcepub fn set_active_operation_arn(self, input: Option<String>) -> Self
pub fn set_active_operation_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) that uniquely identifies a cluster operation.
sourcepub fn cluster_type(self, input: ClusterType) -> Self
pub fn cluster_type(self, input: ClusterType) -> Self
Cluster Type.
sourcepub fn set_cluster_type(self, input: Option<ClusterType>) -> Self
pub fn set_cluster_type(self, input: Option<ClusterType>) -> Self
Cluster Type.
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) that uniquely identifies 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) that uniquely identifies 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 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 cluster.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
The time when the cluster was created.
sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
The time when the cluster was created.
sourcepub fn current_version(self, input: impl Into<String>) -> Self
pub fn current_version(self, input: impl Into<String>) -> Self
The current version of the MSK cluster.
sourcepub fn set_current_version(self, input: Option<String>) -> Self
pub fn set_current_version(self, input: Option<String>) -> Self
The current version 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 state_info(self, input: StateInfo) -> Self
pub fn state_info(self, input: StateInfo) -> Self
State Info for the Amazon MSK cluster.
sourcepub fn set_state_info(self, input: Option<StateInfo>) -> Self
pub fn set_state_info(self, input: Option<StateInfo>) -> Self
State Info for the Amazon MSK cluster.
Adds a key-value pair to tags.
To override the contents of this collection use set_tags.
Tags attached to the cluster.
Tags attached to the cluster.
sourcepub fn provisioned(self, input: Provisioned) -> Self
pub fn provisioned(self, input: Provisioned) -> Self
Information about the provisioned cluster.
sourcepub fn set_provisioned(self, input: Option<Provisioned>) -> Self
pub fn set_provisioned(self, input: Option<Provisioned>) -> Self
Information about the provisioned cluster.
sourcepub fn serverless(self, input: Serverless) -> Self
pub fn serverless(self, input: Serverless) -> Self
Information about the serverless cluster.
sourcepub fn set_serverless(self, input: Option<Serverless>) -> Self
pub fn set_serverless(self, input: Option<Serverless>) -> Self
Information about the serverless cluster.
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more