Struct aws_sdk_kafka::model::cluster_info::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ClusterInfo
.
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
Arn of active cluster operation.
sourcepub fn set_active_operation_arn(self, input: Option<String>) -> Self
pub fn set_active_operation_arn(self, input: Option<String>) -> Self
Arn of active cluster operation.
sourcepub fn broker_node_group_info(self, input: BrokerNodeGroupInfo) -> Self
pub fn broker_node_group_info(self, input: BrokerNodeGroupInfo) -> Self
Information about the broker nodes.
sourcepub fn set_broker_node_group_info(
self,
input: Option<BrokerNodeGroupInfo>
) -> Self
pub fn set_broker_node_group_info(
self,
input: Option<BrokerNodeGroupInfo>
) -> Self
Information about the broker nodes.
sourcepub fn client_authentication(self, input: ClientAuthentication) -> Self
pub fn client_authentication(self, input: ClientAuthentication) -> Self
Includes all client authentication information.
sourcepub fn set_client_authentication(
self,
input: Option<ClientAuthentication>
) -> Self
pub fn set_client_authentication(
self,
input: Option<ClientAuthentication>
) -> Self
Includes all client authentication information.
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_broker_software_info(self, input: BrokerSoftwareInfo) -> Self
pub fn current_broker_software_info(self, input: BrokerSoftwareInfo) -> Self
Information about the version of software currently deployed on the Apache Kafka brokers in the cluster.
sourcepub fn set_current_broker_software_info(
self,
input: Option<BrokerSoftwareInfo>
) -> Self
pub fn set_current_broker_software_info(
self,
input: Option<BrokerSoftwareInfo>
) -> Self
Information about the version of software currently deployed on the Apache Kafka brokers in the cluster.
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 encryption_info(self, input: EncryptionInfo) -> Self
pub fn encryption_info(self, input: EncryptionInfo) -> Self
Includes all encryption-related information.
sourcepub fn set_encryption_info(self, input: Option<EncryptionInfo>) -> Self
pub fn set_encryption_info(self, input: Option<EncryptionInfo>) -> Self
Includes all encryption-related information.
sourcepub fn enhanced_monitoring(self, input: EnhancedMonitoring) -> Self
pub fn enhanced_monitoring(self, input: EnhancedMonitoring) -> Self
Specifies which metrics are gathered for the MSK cluster. This property has the following possible values: DEFAULT, PER_BROKER, PER_TOPIC_PER_BROKER, and PER_TOPIC_PER_PARTITION. For a list of the metrics associated with each of these levels of monitoring, see Monitoring.
sourcepub fn set_enhanced_monitoring(self, input: Option<EnhancedMonitoring>) -> Self
pub fn set_enhanced_monitoring(self, input: Option<EnhancedMonitoring>) -> Self
Specifies which metrics are gathered for the MSK cluster. This property has the following possible values: DEFAULT, PER_BROKER, PER_TOPIC_PER_BROKER, and PER_TOPIC_PER_PARTITION. For a list of the metrics associated with each of these levels of monitoring, see Monitoring.
sourcepub fn open_monitoring(self, input: OpenMonitoring) -> Self
pub fn open_monitoring(self, input: OpenMonitoring) -> Self
Settings for open monitoring using Prometheus.
sourcepub fn set_open_monitoring(self, input: Option<OpenMonitoring>) -> Self
pub fn set_open_monitoring(self, input: Option<OpenMonitoring>) -> Self
Settings for open monitoring using Prometheus.
pub fn logging_info(self, input: LoggingInfo) -> Self
pub fn set_logging_info(self, input: Option<LoggingInfo>) -> Self
sourcepub fn number_of_broker_nodes(self, input: i32) -> Self
pub fn number_of_broker_nodes(self, input: i32) -> Self
The number of broker nodes in the cluster.
sourcepub fn set_number_of_broker_nodes(self, input: Option<i32>) -> Self
pub fn set_number_of_broker_nodes(self, input: Option<i32>) -> Self
The number of broker nodes in the 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.
pub fn state_info(self, input: StateInfo) -> Self
pub fn set_state_info(self, input: Option<StateInfo>) -> Self
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 zookeeper_connect_string(self, input: impl Into<String>) -> Self
pub fn zookeeper_connect_string(self, input: impl Into<String>) -> Self
The connection string to use to connect to the Apache ZooKeeper cluster.
sourcepub fn set_zookeeper_connect_string(self, input: Option<String>) -> Self
pub fn set_zookeeper_connect_string(self, input: Option<String>) -> Self
The connection string to use to connect to the Apache ZooKeeper cluster.
sourcepub fn zookeeper_connect_string_tls(self, input: impl Into<String>) -> Self
pub fn zookeeper_connect_string_tls(self, input: impl Into<String>) -> Self
The connection string to use to connect to zookeeper cluster on Tls port.
sourcepub fn set_zookeeper_connect_string_tls(self, input: Option<String>) -> Self
pub fn set_zookeeper_connect_string_tls(self, input: Option<String>) -> Self
The connection string to use to connect to zookeeper cluster on Tls port.
sourcepub fn storage_mode(self, input: StorageMode) -> Self
pub fn storage_mode(self, input: StorageMode) -> Self
This controls storage mode for supported storage tiers.
sourcepub fn set_storage_mode(self, input: Option<StorageMode>) -> Self
pub fn set_storage_mode(self, input: Option<StorageMode>) -> Self
This controls storage mode for supported storage tiers.
sourcepub fn build(self) -> ClusterInfo
pub fn build(self) -> ClusterInfo
Consumes the builder and constructs a ClusterInfo
.