Struct aws_sdk_kafka::model::cluster::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for Cluster
.
Implementations§
source§impl 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.