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.