public static interface ClusterInfo.Builder extends SdkPojo, CopyableBuilder<ClusterInfo.Builder,ClusterInfo>
Modifier and Type | Method and Description |
---|---|
ClusterInfo.Builder |
brokerNodeGroupInfo(BrokerNodeGroupInfo brokerNodeGroupInfo)
Information about the broker nodes.
|
default ClusterInfo.Builder |
brokerNodeGroupInfo(Consumer<BrokerNodeGroupInfo.Builder> brokerNodeGroupInfo)
Information about the broker nodes.
|
ClusterInfo.Builder |
clusterArn(String clusterArn)
The Amazon Resource Name (ARN) that uniquely identifies the cluster.
|
ClusterInfo.Builder |
clusterName(String clusterName)
The name of the cluster.
|
ClusterInfo.Builder |
creationTime(Instant creationTime)
The time when the cluster was created.
|
ClusterInfo.Builder |
currentBrokerSoftwareInfo(BrokerSoftwareInfo currentBrokerSoftwareInfo)
Information about the version of software currently deployed on the Kafka brokers in the cluster.
|
default ClusterInfo.Builder |
currentBrokerSoftwareInfo(Consumer<BrokerSoftwareInfo.Builder> currentBrokerSoftwareInfo)
Information about the version of software currently deployed on the Kafka brokers in the cluster.
|
ClusterInfo.Builder |
currentVersion(String currentVersion)
The current version of the MSK cluster.
|
default ClusterInfo.Builder |
encryptionInfo(Consumer<EncryptionInfo.Builder> encryptionInfo)
Includes all encryption-related information.
|
ClusterInfo.Builder |
encryptionInfo(EncryptionInfo encryptionInfo)
Includes all encryption-related information.
|
ClusterInfo.Builder |
enhancedMonitoring(EnhancedMonitoring enhancedMonitoring)
Specifies which metrics are gathered for the MSK cluster.
|
ClusterInfo.Builder |
enhancedMonitoring(String enhancedMonitoring)
Specifies which metrics are gathered for the MSK cluster.
|
ClusterInfo.Builder |
numberOfBrokerNodes(Integer numberOfBrokerNodes)
The number of Kafka broker nodes in the cluster.
|
ClusterInfo.Builder |
state(ClusterState state)
The state of the cluster.
|
ClusterInfo.Builder |
state(String state)
The state of the cluster.
|
ClusterInfo.Builder |
zookeeperConnectString(String zookeeperConnectString)
The connection string to use to connect to the Apache ZooKeeper cluster.
|
copy
applyMutation, build
ClusterInfo.Builder brokerNodeGroupInfo(BrokerNodeGroupInfo brokerNodeGroupInfo)
Information about the broker nodes.
brokerNodeGroupInfo
- Information about the broker nodes.default ClusterInfo.Builder brokerNodeGroupInfo(Consumer<BrokerNodeGroupInfo.Builder> brokerNodeGroupInfo)
Information about the broker nodes.
This is a convenience that creates an instance of theBrokerNodeGroupInfo.Builder
avoiding the need
to create one manually via BrokerNodeGroupInfo.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to brokerNodeGroupInfo(BrokerNodeGroupInfo)
.brokerNodeGroupInfo
- a consumer that will call methods on BrokerNodeGroupInfo.Builder
brokerNodeGroupInfo(BrokerNodeGroupInfo)
ClusterInfo.Builder clusterArn(String clusterArn)
The Amazon Resource Name (ARN) that uniquely identifies the cluster.
clusterArn
- The Amazon Resource Name (ARN) that uniquely identifies the cluster.ClusterInfo.Builder clusterName(String clusterName)
The name of the cluster.
clusterName
- The name of the cluster.ClusterInfo.Builder creationTime(Instant creationTime)
The time when the cluster was created.
creationTime
- The time when the cluster was created.ClusterInfo.Builder currentBrokerSoftwareInfo(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.default ClusterInfo.Builder currentBrokerSoftwareInfo(Consumer<BrokerSoftwareInfo.Builder> currentBrokerSoftwareInfo)
Information about the version of software currently deployed on the Kafka brokers in the cluster.
This is a convenience that creates an instance of theBrokerSoftwareInfo.Builder
avoiding the need to
create one manually via BrokerSoftwareInfo.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to currentBrokerSoftwareInfo(BrokerSoftwareInfo)
.currentBrokerSoftwareInfo
- a consumer that will call methods on BrokerSoftwareInfo.Builder
currentBrokerSoftwareInfo(BrokerSoftwareInfo)
ClusterInfo.Builder currentVersion(String currentVersion)
The current version of the MSK cluster.
currentVersion
- The current version of the MSK cluster.ClusterInfo.Builder encryptionInfo(EncryptionInfo encryptionInfo)
Includes all encryption-related information.
encryptionInfo
- Includes all encryption-related information.default ClusterInfo.Builder encryptionInfo(Consumer<EncryptionInfo.Builder> encryptionInfo)
Includes all encryption-related information.
This is a convenience that creates an instance of theEncryptionInfo.Builder
avoiding the need to
create one manually via EncryptionInfo.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to encryptionInfo(EncryptionInfo)
.encryptionInfo
- a consumer that will call methods on EncryptionInfo.Builder
encryptionInfo(EncryptionInfo)
ClusterInfo.Builder enhancedMonitoring(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.
enhancedMonitoring
- Specifies which metrics are gathered for the MSK cluster. This property has three possible values:
DEFAULT, PER_BROKER, and PER_TOPIC_PER_BROKER.EnhancedMonitoring
,
EnhancedMonitoring
ClusterInfo.Builder enhancedMonitoring(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.
enhancedMonitoring
- Specifies which metrics are gathered for the MSK cluster. This property has three possible values:
DEFAULT, PER_BROKER, and PER_TOPIC_PER_BROKER.EnhancedMonitoring
,
EnhancedMonitoring
ClusterInfo.Builder numberOfBrokerNodes(Integer numberOfBrokerNodes)
The number of Kafka broker nodes in the cluster.
numberOfBrokerNodes
- The number of Kafka broker nodes in the cluster.ClusterInfo.Builder state(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
,
ClusterState
ClusterInfo.Builder state(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
,
ClusterState
ClusterInfo.Builder zookeeperConnectString(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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.