Struct aws_sdk_kafka::model::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
sourceimpl 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
impl StructuralPartialEq for Cluster
Auto Trait Implementations
impl RefUnwindSafe for Cluster
impl Send for Cluster
impl Sync for Cluster
impl Unpin for Cluster
impl UnwindSafe for Cluster
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