@Generated(value="software.amazon.awssdk:codegen") public final class ClusterInfo extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ClusterInfo.Builder,ClusterInfo>
Returns information about a cluster.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ClusterInfo.Builder |
| Modifier and Type | Method and Description |
|---|---|
BrokerNodeGroupInfo |
brokerNodeGroupInfo()
Information about the broker nodes.
|
static ClusterInfo.Builder |
builder() |
String |
clusterArn()
The Amazon Resource Name (ARN) that uniquely identifies the cluster.
|
String |
clusterName()
The name of the cluster.
|
Instant |
creationTime()
The time when the cluster was created.
|
BrokerSoftwareInfo |
currentBrokerSoftwareInfo()
Information about the version of software currently deployed on the Kafka brokers in the cluster.
|
String |
currentVersion()
The current version of the MSK cluster.
|
EncryptionInfo |
encryptionInfo()
Includes all encryption-related information.
|
EnhancedMonitoring |
enhancedMonitoring()
Specifies which metrics are gathered for the MSK cluster.
|
String |
enhancedMonitoringAsString()
Specifies which metrics are gathered for the MSK cluster.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
numberOfBrokerNodes()
The number of Kafka broker nodes in the cluster.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ClusterInfo.Builder> |
serializableBuilderClass() |
ClusterState |
state()
The state of the cluster.
|
String |
stateAsString()
The state of the cluster.
|
ClusterInfo.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
zookeeperConnectString()
The connection string to use to connect to the Apache ZooKeeper cluster.
|
copypublic BrokerNodeGroupInfo brokerNodeGroupInfo()
Information about the broker nodes.
public String clusterArn()
The Amazon Resource Name (ARN) that uniquely identifies the cluster.
public String clusterName()
The name of the cluster.
public Instant creationTime()
The time when the cluster was created.
public BrokerSoftwareInfo currentBrokerSoftwareInfo()
Information about the version of software currently deployed on the Kafka brokers in the cluster.
public String currentVersion()
The current version of the MSK cluster.
public EncryptionInfo encryptionInfo()
Includes all encryption-related information.
public 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.
If the service returns an enum value that is not available in the current SDK version,
enhancedMonitoring will return EnhancedMonitoring.UNKNOWN_TO_SDK_VERSION. The raw value returned
by the service is available from enhancedMonitoringAsString().
EnhancedMonitoringpublic String enhancedMonitoringAsString()
Specifies which metrics are gathered for the MSK cluster. This property has three possible values: DEFAULT, PER_BROKER, and PER_TOPIC_PER_BROKER.
If the service returns an enum value that is not available in the current SDK version,
enhancedMonitoring will return EnhancedMonitoring.UNKNOWN_TO_SDK_VERSION. The raw value returned
by the service is available from enhancedMonitoringAsString().
EnhancedMonitoringpublic Integer numberOfBrokerNodes()
The number of Kafka broker nodes in the cluster.
public ClusterState state()
The state of the cluster. The possible states are CREATING, ACTIVE, and FAILED.
If the service returns an enum value that is not available in the current SDK version, state will return
ClusterState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
ClusterStatepublic String stateAsString()
The state of the cluster. The possible states are CREATING, ACTIVE, and FAILED.
If the service returns an enum value that is not available in the current SDK version, state will return
ClusterState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
ClusterStatepublic String zookeeperConnectString()
The connection string to use to connect to the Apache ZooKeeper cluster.
public ClusterInfo.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<ClusterInfo.Builder,ClusterInfo>public static ClusterInfo.Builder builder()
public static Class<? extends ClusterInfo.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.