@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ClusterInfo extends Object implements Serializable, Cloneable, StructuredPojo
Returns information about a cluster.
Constructor and Description |
---|
ClusterInfo() |
Modifier and Type | Method and Description |
---|---|
ClusterInfo |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
ClusterInfo |
clearTagsEntries()
Removes all the entries added into Tags.
|
ClusterInfo |
clone() |
boolean |
equals(Object obj) |
String |
getActiveOperationArn()
Arn of active cluster operation.
|
BrokerNodeGroupInfo |
getBrokerNodeGroupInfo()
Information about the broker nodes.
|
ClientAuthentication |
getClientAuthentication()
Includes all client authentication information.
|
String |
getClusterArn()
The Amazon Resource Name (ARN) that uniquely identifies the cluster.
|
String |
getClusterName()
The name of the cluster.
|
Date |
getCreationTime()
The time when the cluster was created.
|
BrokerSoftwareInfo |
getCurrentBrokerSoftwareInfo()
Information about the version of software currently deployed on the Apache Kafka brokers in the cluster.
|
String |
getCurrentVersion()
The current version of the MSK cluster.
|
String |
getCustomerActionStatus()
Determines if there is an action required from the customer.
|
EncryptionInfo |
getEncryptionInfo()
Includes all encryption-related information.
|
String |
getEnhancedMonitoring()
Specifies which metrics are gathered for the MSK cluster.
|
LoggingInfo |
getLoggingInfo() |
Integer |
getNumberOfBrokerNodes()
The number of broker nodes in the cluster.
|
OpenMonitoring |
getOpenMonitoring()
Settings for open monitoring using Prometheus.
|
String |
getState()
The state of the cluster.
|
StateInfo |
getStateInfo() |
String |
getStorageMode()
This controls storage mode for supported storage tiers.
|
Map<String,String> |
getTags()
Tags attached to the cluster.
|
String |
getZookeeperConnectString()
The connection string to use to connect to the Apache ZooKeeper cluster.
|
String |
getZookeeperConnectStringTls()
The connection string to use to connect to zookeeper cluster on Tls port.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setActiveOperationArn(String activeOperationArn)
Arn of active cluster operation.
|
void |
setBrokerNodeGroupInfo(BrokerNodeGroupInfo brokerNodeGroupInfo)
Information about the broker nodes.
|
void |
setClientAuthentication(ClientAuthentication clientAuthentication)
Includes all client authentication information.
|
void |
setClusterArn(String clusterArn)
The Amazon Resource Name (ARN) that uniquely identifies the cluster.
|
void |
setClusterName(String clusterName)
The name of the cluster.
|
void |
setCreationTime(Date creationTime)
The time when the cluster was created.
|
void |
setCurrentBrokerSoftwareInfo(BrokerSoftwareInfo currentBrokerSoftwareInfo)
Information about the version of software currently deployed on the Apache Kafka brokers in the cluster.
|
void |
setCurrentVersion(String currentVersion)
The current version of the MSK cluster.
|
void |
setCustomerActionStatus(String customerActionStatus)
Determines if there is an action required from the customer.
|
void |
setEncryptionInfo(EncryptionInfo encryptionInfo)
Includes all encryption-related information.
|
void |
setEnhancedMonitoring(String enhancedMonitoring)
Specifies which metrics are gathered for the MSK cluster.
|
void |
setLoggingInfo(LoggingInfo loggingInfo) |
void |
setNumberOfBrokerNodes(Integer numberOfBrokerNodes)
The number of broker nodes in the cluster.
|
void |
setOpenMonitoring(OpenMonitoring openMonitoring)
Settings for open monitoring using Prometheus.
|
void |
setState(String state)
The state of the cluster.
|
void |
setStateInfo(StateInfo stateInfo) |
void |
setStorageMode(String storageMode)
This controls storage mode for supported storage tiers.
|
void |
setTags(Map<String,String> tags)
Tags attached to the cluster.
|
void |
setZookeeperConnectString(String zookeeperConnectString)
The connection string to use to connect to the Apache ZooKeeper cluster.
|
void |
setZookeeperConnectStringTls(String zookeeperConnectStringTls)
The connection string to use to connect to zookeeper cluster on Tls port.
|
String |
toString()
Returns a string representation of this object.
|
ClusterInfo |
withActiveOperationArn(String activeOperationArn)
Arn of active cluster operation.
|
ClusterInfo |
withBrokerNodeGroupInfo(BrokerNodeGroupInfo brokerNodeGroupInfo)
Information about the broker nodes.
|
ClusterInfo |
withClientAuthentication(ClientAuthentication clientAuthentication)
Includes all client authentication information.
|
ClusterInfo |
withClusterArn(String clusterArn)
The Amazon Resource Name (ARN) that uniquely identifies the cluster.
|
ClusterInfo |
withClusterName(String clusterName)
The name of the cluster.
|
ClusterInfo |
withCreationTime(Date creationTime)
The time when the cluster was created.
|
ClusterInfo |
withCurrentBrokerSoftwareInfo(BrokerSoftwareInfo currentBrokerSoftwareInfo)
Information about the version of software currently deployed on the Apache Kafka brokers in the cluster.
|
ClusterInfo |
withCurrentVersion(String currentVersion)
The current version of the MSK cluster.
|
ClusterInfo |
withCustomerActionStatus(CustomerActionStatus customerActionStatus)
Determines if there is an action required from the customer.
|
ClusterInfo |
withCustomerActionStatus(String customerActionStatus)
Determines if there is an action required from the customer.
|
ClusterInfo |
withEncryptionInfo(EncryptionInfo encryptionInfo)
Includes all encryption-related information.
|
ClusterInfo |
withEnhancedMonitoring(EnhancedMonitoring enhancedMonitoring)
Specifies which metrics are gathered for the MSK cluster.
|
ClusterInfo |
withEnhancedMonitoring(String enhancedMonitoring)
Specifies which metrics are gathered for the MSK cluster.
|
ClusterInfo |
withLoggingInfo(LoggingInfo loggingInfo) |
ClusterInfo |
withNumberOfBrokerNodes(Integer numberOfBrokerNodes)
The number of broker nodes in the cluster.
|
ClusterInfo |
withOpenMonitoring(OpenMonitoring openMonitoring)
Settings for open monitoring using Prometheus.
|
ClusterInfo |
withState(ClusterState state)
The state of the cluster.
|
ClusterInfo |
withState(String state)
The state of the cluster.
|
ClusterInfo |
withStateInfo(StateInfo stateInfo) |
ClusterInfo |
withStorageMode(StorageMode storageMode)
This controls storage mode for supported storage tiers.
|
ClusterInfo |
withStorageMode(String storageMode)
This controls storage mode for supported storage tiers.
|
ClusterInfo |
withTags(Map<String,String> tags)
Tags attached to the cluster.
|
ClusterInfo |
withZookeeperConnectString(String zookeeperConnectString)
The connection string to use to connect to the Apache ZooKeeper cluster.
|
ClusterInfo |
withZookeeperConnectStringTls(String zookeeperConnectStringTls)
The connection string to use to connect to zookeeper cluster on Tls port.
|
public void setActiveOperationArn(String activeOperationArn)
Arn of active cluster operation.
activeOperationArn
- Arn of active cluster operation.
public String getActiveOperationArn()
Arn of active cluster operation.
Arn of active cluster operation.
public ClusterInfo withActiveOperationArn(String activeOperationArn)
Arn of active cluster operation.
activeOperationArn
- Arn of active cluster operation.
public void setBrokerNodeGroupInfo(BrokerNodeGroupInfo brokerNodeGroupInfo)
Information about the broker nodes.
brokerNodeGroupInfo
- Information about the broker nodes.
public BrokerNodeGroupInfo getBrokerNodeGroupInfo()
Information about the broker nodes.
Information about the broker nodes.
public ClusterInfo withBrokerNodeGroupInfo(BrokerNodeGroupInfo brokerNodeGroupInfo)
Information about the broker nodes.
brokerNodeGroupInfo
- Information about the broker nodes.
public void setClientAuthentication(ClientAuthentication clientAuthentication)
Includes all client authentication information.
clientAuthentication
- Includes all client authentication information.
public ClientAuthentication getClientAuthentication()
Includes all client authentication information.
Includes all client authentication information.
public ClusterInfo withClientAuthentication(ClientAuthentication clientAuthentication)
Includes all client authentication information.
clientAuthentication
- Includes all client authentication information.
public void setClusterArn(String clusterArn)
The Amazon Resource Name (ARN) that uniquely identifies the cluster.
clusterArn
- The Amazon Resource Name (ARN) that uniquely identifies the cluster.
public String getClusterArn()
The Amazon Resource Name (ARN) that uniquely identifies the cluster.
The Amazon Resource Name (ARN) that uniquely identifies the cluster.
public ClusterInfo withClusterArn(String clusterArn)
The Amazon Resource Name (ARN) that uniquely identifies the cluster.
clusterArn
- The Amazon Resource Name (ARN) that uniquely identifies the cluster.
public void setClusterName(String clusterName)
The name of the cluster.
clusterName
- The name of the cluster.
public String getClusterName()
The name of the cluster.
The name of the cluster.
public ClusterInfo withClusterName(String clusterName)
The name of the cluster.
clusterName
- The name of the cluster.
public void setCreationTime(Date creationTime)
The time when the cluster was created.
creationTime
- The time when the cluster was created.
public Date getCreationTime()
The time when the cluster was created.
The time when the cluster was created.
public ClusterInfo withCreationTime(Date creationTime)
The time when the cluster was created.
creationTime
- The time when the cluster was created.
public void setCurrentBrokerSoftwareInfo(BrokerSoftwareInfo currentBrokerSoftwareInfo)
Information about the version of software currently deployed on the Apache Kafka brokers in the cluster.
currentBrokerSoftwareInfo
- Information about the version of software currently deployed on the Apache Kafka brokers in the cluster.
public BrokerSoftwareInfo getCurrentBrokerSoftwareInfo()
Information about the version of software currently deployed on the Apache Kafka brokers in the cluster.
Information about the version of software currently deployed on the Apache Kafka brokers in the cluster.
public ClusterInfo withCurrentBrokerSoftwareInfo(BrokerSoftwareInfo currentBrokerSoftwareInfo)
Information about the version of software currently deployed on the Apache Kafka brokers in the cluster.
currentBrokerSoftwareInfo
- Information about the version of software currently deployed on the Apache Kafka brokers in the cluster.
public void setCurrentVersion(String currentVersion)
The current version of the MSK cluster.
currentVersion
- The current version of the MSK cluster.
public String getCurrentVersion()
The current version of the MSK cluster.
The current version of the MSK cluster.
public ClusterInfo withCurrentVersion(String currentVersion)
The current version of the MSK cluster.
currentVersion
- The current version of the MSK cluster.
public void setEncryptionInfo(EncryptionInfo encryptionInfo)
Includes all encryption-related information.
encryptionInfo
- Includes all encryption-related information.
public EncryptionInfo getEncryptionInfo()
Includes all encryption-related information.
Includes all encryption-related information.
public ClusterInfo withEncryptionInfo(EncryptionInfo encryptionInfo)
Includes all encryption-related information.
encryptionInfo
- Includes all encryption-related information.
public void setEnhancedMonitoring(String 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.
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.
EnhancedMonitoring
public String getEnhancedMonitoring()
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.
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.
EnhancedMonitoring
public ClusterInfo withEnhancedMonitoring(String 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.
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.
EnhancedMonitoring
public ClusterInfo withEnhancedMonitoring(EnhancedMonitoring 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.
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.
EnhancedMonitoring
public void setOpenMonitoring(OpenMonitoring openMonitoring)
Settings for open monitoring using Prometheus.
openMonitoring
- Settings for open monitoring using Prometheus.
public OpenMonitoring getOpenMonitoring()
Settings for open monitoring using Prometheus.
Settings for open monitoring using Prometheus.
public ClusterInfo withOpenMonitoring(OpenMonitoring openMonitoring)
Settings for open monitoring using Prometheus.
openMonitoring
- Settings for open monitoring using Prometheus.
public void setLoggingInfo(LoggingInfo loggingInfo)
loggingInfo
- public LoggingInfo getLoggingInfo()
public ClusterInfo withLoggingInfo(LoggingInfo loggingInfo)
loggingInfo
- public void setNumberOfBrokerNodes(Integer numberOfBrokerNodes)
The number of broker nodes in the cluster.
numberOfBrokerNodes
- The number of broker nodes in the cluster.
public Integer getNumberOfBrokerNodes()
The number of broker nodes in the cluster.
The number of broker nodes in the cluster.
public ClusterInfo withNumberOfBrokerNodes(Integer numberOfBrokerNodes)
The number of broker nodes in the cluster.
numberOfBrokerNodes
- The number of broker nodes in the cluster.
public void setState(String state)
The state of the cluster. The possible states are ACTIVE, CREATING, DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING_BROKER, and UPDATING.
state
- The state of the cluster. The possible states are ACTIVE, CREATING, DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING_BROKER, and UPDATING.
ClusterState
public String getState()
The state of the cluster. The possible states are ACTIVE, CREATING, DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING_BROKER, and UPDATING.
The state of the cluster. The possible states are ACTIVE, CREATING, DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING_BROKER, and UPDATING.
ClusterState
public ClusterInfo withState(String state)
The state of the cluster. The possible states are ACTIVE, CREATING, DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING_BROKER, and UPDATING.
state
- The state of the cluster. The possible states are ACTIVE, CREATING, DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING_BROKER, and UPDATING.
ClusterState
public ClusterInfo withState(ClusterState state)
The state of the cluster. The possible states are ACTIVE, CREATING, DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING_BROKER, and UPDATING.
state
- The state of the cluster. The possible states are ACTIVE, CREATING, DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING_BROKER, and UPDATING.
ClusterState
public void setStateInfo(StateInfo stateInfo)
stateInfo
- public StateInfo getStateInfo()
public ClusterInfo withStateInfo(StateInfo stateInfo)
stateInfo
- public Map<String,String> getTags()
Tags attached to the cluster.
Tags attached to the cluster.
public void setTags(Map<String,String> tags)
Tags attached to the cluster.
tags
- Tags attached to the cluster.
public ClusterInfo withTags(Map<String,String> tags)
Tags attached to the cluster.
tags
- Tags attached to the cluster.
public ClusterInfo addTagsEntry(String key, String value)
public ClusterInfo clearTagsEntries()
public void setZookeeperConnectString(String zookeeperConnectString)
The connection string to use to connect to the Apache ZooKeeper cluster.
zookeeperConnectString
- The connection string to use to connect to the Apache ZooKeeper cluster.
public String getZookeeperConnectString()
The connection string to use to connect to the Apache ZooKeeper cluster.
The connection string to use to connect to the Apache ZooKeeper cluster.
public ClusterInfo withZookeeperConnectString(String zookeeperConnectString)
The connection string to use to connect to the Apache ZooKeeper cluster.
zookeeperConnectString
- The connection string to use to connect to the Apache ZooKeeper cluster.
public void setZookeeperConnectStringTls(String zookeeperConnectStringTls)
The connection string to use to connect to zookeeper cluster on Tls port.
zookeeperConnectStringTls
- The connection string to use to connect to zookeeper cluster on Tls port.
public String getZookeeperConnectStringTls()
The connection string to use to connect to zookeeper cluster on Tls port.
The connection string to use to connect to zookeeper cluster on Tls port.
public ClusterInfo withZookeeperConnectStringTls(String zookeeperConnectStringTls)
The connection string to use to connect to zookeeper cluster on Tls port.
zookeeperConnectStringTls
- The connection string to use to connect to zookeeper cluster on Tls port.
public void setStorageMode(String storageMode)
This controls storage mode for supported storage tiers.
storageMode
- This controls storage mode for supported storage tiers.
StorageMode
public String getStorageMode()
This controls storage mode for supported storage tiers.
This controls storage mode for supported storage tiers.
StorageMode
public ClusterInfo withStorageMode(String storageMode)
This controls storage mode for supported storage tiers.
storageMode
- This controls storage mode for supported storage tiers.
StorageMode
public ClusterInfo withStorageMode(StorageMode storageMode)
This controls storage mode for supported storage tiers.
storageMode
- This controls storage mode for supported storage tiers.
StorageMode
public void setCustomerActionStatus(String customerActionStatus)
Determines if there is an action required from the customer.
customerActionStatus
- Determines if there is an action required from the customer.
CustomerActionStatus
public String getCustomerActionStatus()
Determines if there is an action required from the customer.
Determines if there is an action required from the customer.
CustomerActionStatus
public ClusterInfo withCustomerActionStatus(String customerActionStatus)
Determines if there is an action required from the customer.
customerActionStatus
- Determines if there is an action required from the customer.
CustomerActionStatus
public ClusterInfo withCustomerActionStatus(CustomerActionStatus customerActionStatus)
Determines if there is an action required from the customer.
customerActionStatus
- Determines if there is an action required from the customer.
CustomerActionStatus
public String toString()
toString
in class Object
Object.toString()
public ClusterInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.