Struct aws_sdk_kafka::types::builders::ClusterBuilder
source · #[non_exhaustive]pub struct ClusterBuilder { /* private fields */ }
Expand description
A builder for Cluster
.
Implementations§
source§impl ClusterBuilder
impl ClusterBuilder
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 get_active_operation_arn(&self) -> &Option<String>
pub fn get_active_operation_arn(&self) -> &Option<String>
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 get_cluster_type(&self) -> &Option<ClusterType>
pub fn get_cluster_type(&self) -> &Option<ClusterType>
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 get_cluster_arn(&self) -> &Option<String>
pub fn get_cluster_arn(&self) -> &Option<String>
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 get_cluster_name(&self) -> &Option<String>
pub fn get_cluster_name(&self) -> &Option<String>
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 get_creation_time(&self) -> &Option<DateTime>
pub fn get_creation_time(&self) -> &Option<DateTime>
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 get_current_version(&self) -> &Option<String>
pub fn get_current_version(&self) -> &Option<String>
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 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 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.
sourcepub fn get_state_info(&self) -> &Option<StateInfo>
pub fn get_state_info(&self) -> &Option<StateInfo>
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.
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 get_provisioned(&self) -> &Option<Provisioned>
pub fn get_provisioned(&self) -> &Option<Provisioned>
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.
sourcepub fn get_serverless(&self) -> &Option<Serverless>
pub fn get_serverless(&self) -> &Option<Serverless>
Information about the serverless cluster.
Trait Implementations§
source§impl Clone for ClusterBuilder
impl Clone for ClusterBuilder
source§fn clone(&self) -> ClusterBuilder
fn clone(&self) -> ClusterBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ClusterBuilder
impl Debug for ClusterBuilder
source§impl Default for ClusterBuilder
impl Default for ClusterBuilder
source§fn default() -> ClusterBuilder
fn default() -> ClusterBuilder
source§impl PartialEq for ClusterBuilder
impl PartialEq for ClusterBuilder
source§fn eq(&self, other: &ClusterBuilder) -> bool
fn eq(&self, other: &ClusterBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ClusterBuilder
Auto Trait Implementations§
impl Freeze for ClusterBuilder
impl RefUnwindSafe for ClusterBuilder
impl Send for ClusterBuilder
impl Sync for ClusterBuilder
impl Unpin for ClusterBuilder
impl UnwindSafe for ClusterBuilder
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