Struct aws_sdk_kafka::types::builders::ClusterInfoBuilder
source · #[non_exhaustive]pub struct ClusterInfoBuilder { /* private fields */ }
Expand description
A builder for ClusterInfo
.
Implementations§
source§impl ClusterInfoBuilder
impl ClusterInfoBuilder
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 get_active_operation_arn(&self) -> &Option<String>
pub fn get_active_operation_arn(&self) -> &Option<String>
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 get_broker_node_group_info(&self) -> &Option<BrokerNodeGroupInfo>
pub fn get_broker_node_group_info(&self) -> &Option<BrokerNodeGroupInfo>
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 get_client_authentication(&self) -> &Option<ClientAuthentication>
pub fn get_client_authentication(&self) -> &Option<ClientAuthentication>
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 get_cluster_arn(&self) -> &Option<String>
pub fn get_cluster_arn(&self) -> &Option<String>
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 get_cluster_name(&self) -> &Option<String>
pub fn get_cluster_name(&self) -> &Option<String>
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 get_creation_time(&self) -> &Option<DateTime>
pub fn get_creation_time(&self) -> &Option<DateTime>
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 get_current_broker_software_info(&self) -> &Option<BrokerSoftwareInfo>
pub fn get_current_broker_software_info(&self) -> &Option<BrokerSoftwareInfo>
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 get_current_version(&self) -> &Option<String>
pub fn get_current_version(&self) -> &Option<String>
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 get_encryption_info(&self) -> &Option<EncryptionInfo>
pub fn get_encryption_info(&self) -> &Option<EncryptionInfo>
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 get_enhanced_monitoring(&self) -> &Option<EnhancedMonitoring>
pub fn get_enhanced_monitoring(&self) -> &Option<EnhancedMonitoring>
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.
sourcepub fn get_open_monitoring(&self) -> &Option<OpenMonitoring>
pub fn get_open_monitoring(&self) -> &Option<OpenMonitoring>
Settings for open monitoring using Prometheus.
pub fn logging_info(self, input: LoggingInfo) -> Self
pub fn set_logging_info(self, input: Option<LoggingInfo>) -> Self
pub fn get_logging_info(&self) -> &Option<LoggingInfo>
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 get_number_of_broker_nodes(&self) -> &Option<i32>
pub fn get_number_of_broker_nodes(&self) -> &Option<i32>
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.
sourcepub fn get_state(&self) -> &Option<ClusterState>
pub fn get_state(&self) -> &Option<ClusterState>
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
pub fn get_state_info(&self) -> &Option<StateInfo>
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.
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 get_zookeeper_connect_string(&self) -> &Option<String>
pub fn get_zookeeper_connect_string(&self) -> &Option<String>
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 get_zookeeper_connect_string_tls(&self) -> &Option<String>
pub fn get_zookeeper_connect_string_tls(&self) -> &Option<String>
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 get_storage_mode(&self) -> &Option<StorageMode>
pub fn get_storage_mode(&self) -> &Option<StorageMode>
This controls storage mode for supported storage tiers.
sourcepub fn customer_action_status(self, input: CustomerActionStatus) -> Self
pub fn customer_action_status(self, input: CustomerActionStatus) -> Self
Determines if there is an action required from the customer.
sourcepub fn set_customer_action_status(
self,
input: Option<CustomerActionStatus>
) -> Self
pub fn set_customer_action_status( self, input: Option<CustomerActionStatus> ) -> Self
Determines if there is an action required from the customer.
sourcepub fn get_customer_action_status(&self) -> &Option<CustomerActionStatus>
pub fn get_customer_action_status(&self) -> &Option<CustomerActionStatus>
Determines if there is an action required from the customer.
sourcepub fn build(self) -> ClusterInfo
pub fn build(self) -> ClusterInfo
Consumes the builder and constructs a ClusterInfo
.
Trait Implementations§
source§impl Clone for ClusterInfoBuilder
impl Clone for ClusterInfoBuilder
source§fn clone(&self) -> ClusterInfoBuilder
fn clone(&self) -> ClusterInfoBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ClusterInfoBuilder
impl Debug for ClusterInfoBuilder
source§impl Default for ClusterInfoBuilder
impl Default for ClusterInfoBuilder
source§fn default() -> ClusterInfoBuilder
fn default() -> ClusterInfoBuilder
source§impl PartialEq for ClusterInfoBuilder
impl PartialEq for ClusterInfoBuilder
source§fn eq(&self, other: &ClusterInfoBuilder) -> bool
fn eq(&self, other: &ClusterInfoBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.