public static interface ClusterInfo.Builder extends SdkPojo, CopyableBuilder<ClusterInfo.Builder,ClusterInfo>
| Modifier and Type | Method and Description |
|---|---|
ClusterInfo.Builder |
activeOperationArn(String activeOperationArn)
Arn of active cluster operation.
|
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 |
clientAuthentication(ClientAuthentication clientAuthentication)
Includes all client authentication information.
|
default ClusterInfo.Builder |
clientAuthentication(Consumer<ClientAuthentication.Builder> clientAuthentication)
Includes all client authentication information.
|
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 Apache Kafka brokers in the cluster.
|
default ClusterInfo.Builder |
currentBrokerSoftwareInfo(Consumer<BrokerSoftwareInfo.Builder> currentBrokerSoftwareInfo)
Information about the version of software currently deployed on the Apache 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.
|
default ClusterInfo.Builder |
loggingInfo(Consumer<LoggingInfo.Builder> loggingInfo)
Sets the value of the LoggingInfo property for this object.
|
ClusterInfo.Builder |
loggingInfo(LoggingInfo loggingInfo)
Sets the value of the LoggingInfo property for this object.
|
ClusterInfo.Builder |
numberOfBrokerNodes(Integer numberOfBrokerNodes)
The number of broker nodes in the cluster.
|
default ClusterInfo.Builder |
openMonitoring(Consumer<OpenMonitoring.Builder> openMonitoring)
Settings for open monitoring using Prometheus.
|
ClusterInfo.Builder |
openMonitoring(OpenMonitoring openMonitoring)
Settings for open monitoring using Prometheus.
|
ClusterInfo.Builder |
state(ClusterState state)
The state of the cluster.
|
ClusterInfo.Builder |
state(String state)
The state of the cluster.
|
default ClusterInfo.Builder |
stateInfo(Consumer<StateInfo.Builder> stateInfo)
Sets the value of the StateInfo property for this object.
|
ClusterInfo.Builder |
stateInfo(StateInfo stateInfo)
Sets the value of the StateInfo property for this object.
|
ClusterInfo.Builder |
storageMode(StorageMode storageMode)
This controls storage mode for supported storage tiers.
|
ClusterInfo.Builder |
storageMode(String storageMode)
This controls storage mode for supported storage tiers.
|
ClusterInfo.Builder |
tags(Map<String,String> tags)
Tags attached to the cluster.
|
ClusterInfo.Builder |
zookeeperConnectString(String zookeeperConnectString)
The connection string to use to connect to the Apache ZooKeeper cluster.
|
ClusterInfo.Builder |
zookeeperConnectStringTls(String zookeeperConnectStringTls)
The connection string to use to connect to zookeeper cluster on Tls port.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildClusterInfo.Builder activeOperationArn(String activeOperationArn)
Arn of active cluster operation.
activeOperationArn - Arn of active cluster operation.
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 method 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.BuilderbrokerNodeGroupInfo(BrokerNodeGroupInfo)ClusterInfo.Builder clientAuthentication(ClientAuthentication clientAuthentication)
Includes all client authentication information.
clientAuthentication - Includes all client authentication information.
default ClusterInfo.Builder clientAuthentication(Consumer<ClientAuthentication.Builder> clientAuthentication)
Includes all client authentication information.
This is a convenience method that creates an instance of theClientAuthentication.Builder avoiding
the need to create one manually via ClientAuthentication.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to clientAuthentication(ClientAuthentication).
clientAuthentication - a consumer that will call methods on ClientAuthentication.BuilderclientAuthentication(ClientAuthentication)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 Apache Kafka brokers in the cluster.
currentBrokerSoftwareInfo - Information about the version of software currently deployed on the Apache Kafka brokers in the cluster.
default ClusterInfo.Builder currentBrokerSoftwareInfo(Consumer<BrokerSoftwareInfo.Builder> currentBrokerSoftwareInfo)
Information about the version of software currently deployed on the Apache Kafka brokers in the cluster.
This is a convenience method 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.BuildercurrentBrokerSoftwareInfo(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 method 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.BuilderencryptionInfo(EncryptionInfo)ClusterInfo.Builder enhancedMonitoring(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,
EnhancedMonitoringClusterInfo.Builder enhancedMonitoring(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,
EnhancedMonitoringClusterInfo.Builder openMonitoring(OpenMonitoring openMonitoring)
Settings for open monitoring using Prometheus.
openMonitoring - Settings for open monitoring using Prometheus.
default ClusterInfo.Builder openMonitoring(Consumer<OpenMonitoring.Builder> openMonitoring)
Settings for open monitoring using Prometheus.
This is a convenience method that creates an instance of theOpenMonitoring.Builder avoiding the need
to create one manually via OpenMonitoring.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to openMonitoring(OpenMonitoring).
openMonitoring - a consumer that will call methods on OpenMonitoring.BuilderopenMonitoring(OpenMonitoring)ClusterInfo.Builder loggingInfo(LoggingInfo loggingInfo)
loggingInfo - The new value for the LoggingInfo property for this object.default ClusterInfo.Builder loggingInfo(Consumer<LoggingInfo.Builder> loggingInfo)
LoggingInfo.Builder avoiding the need to
create one manually via LoggingInfo.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to loggingInfo(LoggingInfo).
loggingInfo - a consumer that will call methods on LoggingInfo.BuilderloggingInfo(LoggingInfo)ClusterInfo.Builder numberOfBrokerNodes(Integer numberOfBrokerNodes)
The number of broker nodes in the cluster.
numberOfBrokerNodes - The number of broker nodes in the cluster.
ClusterInfo.Builder state(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,
ClusterStateClusterInfo.Builder state(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,
ClusterStateClusterInfo.Builder stateInfo(StateInfo stateInfo)
stateInfo - The new value for the StateInfo property for this object.default ClusterInfo.Builder stateInfo(Consumer<StateInfo.Builder> stateInfo)
StateInfo.Builder avoiding the need to
create one manually via StateInfo.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to stateInfo(StateInfo).
stateInfo - a consumer that will call methods on StateInfo.BuilderstateInfo(StateInfo)ClusterInfo.Builder tags(Map<String,String> tags)
Tags attached to the cluster.
tags - Tags attached to the cluster.
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.
ClusterInfo.Builder zookeeperConnectStringTls(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.
ClusterInfo.Builder storageMode(String storageMode)
This controls storage mode for supported storage tiers.
storageMode - This controls storage mode for supported storage tiers.
StorageMode,
StorageModeClusterInfo.Builder storageMode(StorageMode storageMode)
This controls storage mode for supported storage tiers.
storageMode - This controls storage mode for supported storage tiers.
StorageMode,
StorageModeCopyright © 2023. All rights reserved.