Struct aws_sdk_kafka::types::Cluster
source · #[non_exhaustive]pub struct Cluster {
pub active_operation_arn: Option<String>,
pub cluster_type: Option<ClusterType>,
pub cluster_arn: Option<String>,
pub cluster_name: Option<String>,
pub creation_time: Option<DateTime>,
pub current_version: Option<String>,
pub state: Option<ClusterState>,
pub state_info: Option<StateInfo>,
pub tags: Option<HashMap<String, String>>,
pub provisioned: Option<Provisioned>,
pub serverless: Option<Serverless>,
}
Expand description
Returns information about a cluster.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.active_operation_arn: Option<String>
The Amazon Resource Name (ARN) that uniquely identifies a cluster operation.
cluster_type: Option<ClusterType>
Cluster Type.
cluster_arn: Option<String>
The Amazon Resource Name (ARN) that uniquely identifies the cluster.
cluster_name: Option<String>
The name of the cluster.
creation_time: Option<DateTime>
The time when the cluster was created.
current_version: Option<String>
The current version of the MSK cluster.
state: Option<ClusterState>
The state of the cluster. The possible states are ACTIVE, CREATING, DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING_BROKER, and UPDATING.
state_info: Option<StateInfo>
State Info for the Amazon MSK cluster.
Tags attached to the cluster.
provisioned: Option<Provisioned>
Information about the provisioned cluster.
serverless: Option<Serverless>
Information about the serverless cluster.
Implementations§
source§impl Cluster
impl Cluster
sourcepub fn active_operation_arn(&self) -> Option<&str>
pub fn active_operation_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) that uniquely identifies a cluster operation.
sourcepub fn cluster_type(&self) -> Option<&ClusterType>
pub fn cluster_type(&self) -> Option<&ClusterType>
Cluster Type.
sourcepub fn cluster_arn(&self) -> Option<&str>
pub fn cluster_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) that uniquely identifies the cluster.
sourcepub fn cluster_name(&self) -> Option<&str>
pub fn cluster_name(&self) -> Option<&str>
The name of the cluster.
sourcepub fn creation_time(&self) -> Option<&DateTime>
pub fn creation_time(&self) -> Option<&DateTime>
The time when the cluster was created.
sourcepub fn current_version(&self) -> Option<&str>
pub fn current_version(&self) -> Option<&str>
The current version of the MSK cluster.
sourcepub fn state(&self) -> Option<&ClusterState>
pub fn 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) -> Option<&StateInfo>
pub fn state_info(&self) -> Option<&StateInfo>
State Info for the Amazon MSK cluster.
Tags attached to the cluster.
sourcepub fn provisioned(&self) -> Option<&Provisioned>
pub fn provisioned(&self) -> Option<&Provisioned>
Information about the provisioned cluster.
sourcepub fn serverless(&self) -> Option<&Serverless>
pub fn serverless(&self) -> Option<&Serverless>
Information about the serverless cluster.
Trait Implementations§
source§impl PartialEq for Cluster
impl PartialEq for Cluster
impl StructuralPartialEq for Cluster
Auto Trait Implementations§
impl Freeze for Cluster
impl RefUnwindSafe for Cluster
impl Send for Cluster
impl Sync for Cluster
impl Unpin for Cluster
impl UnwindSafe for Cluster
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