@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) |
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 Kafka brokers in the cluster.
|
String |
getCurrentVersion()
The current version of the MSK cluster.
|
EncryptionInfo |
getEncryptionInfo()
Includes all encryption-related information.
|
String |
getEnhancedMonitoring()
Specifies which metrics are gathered for the MSK cluster.
|
Integer |
getNumberOfBrokerNodes()
The number of broker nodes in the cluster.
|
String |
getState()
The state of the cluster.
|
Map<String,String> |
getTags()
Tags attached to the cluster.
|
String |
getZookeeperConnectString()
The connection string to use to connect to the Apache ZooKeeper cluster.
|
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 Kafka brokers in the cluster.
|
void |
setCurrentVersion(String currentVersion)
The current version of the MSK cluster.
|
void |
setEncryptionInfo(EncryptionInfo encryptionInfo)
Includes all encryption-related information.
|
void |
setEnhancedMonitoring(String enhancedMonitoring)
Specifies which metrics are gathered for the MSK cluster.
|
void |
setNumberOfBrokerNodes(Integer numberOfBrokerNodes)
The number of broker nodes in the cluster.
|
void |
setState(String state)
The state of the cluster.
|
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.
|
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 Kafka brokers in the cluster.
|
ClusterInfo |
withCurrentVersion(String currentVersion)
The current version of the MSK cluster.
|
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 |
withNumberOfBrokerNodes(Integer numberOfBrokerNodes)
The number of broker nodes in the cluster.
|
ClusterInfo |
withState(ClusterState state)
The state of the cluster.
|
ClusterInfo |
withState(String state)
The state of the cluster.
|
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.
|
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 Kafka brokers in the cluster.
currentBrokerSoftwareInfo
- Information about the version of software currently deployed on the Kafka brokers in the cluster.
public BrokerSoftwareInfo getCurrentBrokerSoftwareInfo()
Information about the version of software currently deployed on the Kafka brokers in the cluster.
Information about the version of software currently deployed on the Kafka brokers in the cluster.
public ClusterInfo withCurrentBrokerSoftwareInfo(BrokerSoftwareInfo currentBrokerSoftwareInfo)
Information about the version of software currently deployed on the Kafka brokers in the cluster.
currentBrokerSoftwareInfo
- Information about the version of software currently deployed on the 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 three possible values: DEFAULT, PER_BROKER, and PER_TOPIC_PER_BROKER. For a list of the metrics associated with each of these three levels of monitoring, see Monitoring.
enhancedMonitoring
- Specifies which metrics are gathered for the MSK cluster. This property has three possible values: DEFAULT, PER_BROKER, and PER_TOPIC_PER_BROKER. For a list of the metrics associated with each of these three levels of monitoring, see Monitoring.
EnhancedMonitoring
public String getEnhancedMonitoring()
Specifies which metrics are gathered for the MSK cluster. This property has three possible values: DEFAULT, PER_BROKER, and PER_TOPIC_PER_BROKER. For a list of the metrics associated with each of these three levels of monitoring, see Monitoring.
Specifies which metrics are gathered for the MSK cluster. This property has three possible values: DEFAULT, PER_BROKER, and PER_TOPIC_PER_BROKER. For a list of the metrics associated with each of these three levels of monitoring, see Monitoring.
EnhancedMonitoring
public ClusterInfo withEnhancedMonitoring(String enhancedMonitoring)
Specifies which metrics are gathered for the MSK cluster. This property has three possible values: DEFAULT, PER_BROKER, and PER_TOPIC_PER_BROKER. For a list of the metrics associated with each of these three levels of monitoring, see Monitoring.
enhancedMonitoring
- Specifies which metrics are gathered for the MSK cluster. This property has three possible values: DEFAULT, PER_BROKER, and PER_TOPIC_PER_BROKER. For a list of the metrics associated with each of these three levels of monitoring, see Monitoring.
EnhancedMonitoring
public ClusterInfo withEnhancedMonitoring(EnhancedMonitoring enhancedMonitoring)
Specifies which metrics are gathered for the MSK cluster. This property has three possible values: DEFAULT, PER_BROKER, and PER_TOPIC_PER_BROKER. For a list of the metrics associated with each of these three levels of monitoring, see Monitoring.
enhancedMonitoring
- Specifies which metrics are gathered for the MSK cluster. This property has three possible values: DEFAULT, PER_BROKER, and PER_TOPIC_PER_BROKER. For a list of the metrics associated with each of these three levels of monitoring, see Monitoring.
EnhancedMonitoring
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 CREATING, ACTIVE, and FAILED.
state
- The state of the cluster. The possible states are CREATING, ACTIVE, and FAILED.
ClusterState
public String getState()
The state of the cluster. The possible states are CREATING, ACTIVE, and FAILED.
The state of the cluster. The possible states are CREATING, ACTIVE, and FAILED.
ClusterState
public ClusterInfo withState(String state)
The state of the cluster. The possible states are CREATING, ACTIVE, and FAILED.
state
- The state of the cluster. The possible states are CREATING, ACTIVE, and FAILED.
ClusterState
public ClusterInfo withState(ClusterState state)
The state of the cluster. The possible states are CREATING, ACTIVE, and FAILED.
state
- The state of the cluster. The possible states are CREATING, ACTIVE, and FAILED.
ClusterState
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 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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.