Interface ClusterInfo.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ClusterInfo.Builder,
,ClusterInfo> SdkBuilder<ClusterInfo.Builder,
,ClusterInfo> SdkPojo
- Enclosing class:
ClusterInfo
-
Method Summary
Modifier and TypeMethodDescriptionactiveOperationArn
(String activeOperationArn) Arn of active cluster operation.default ClusterInfo.Builder
brokerNodeGroupInfo
(Consumer<BrokerNodeGroupInfo.Builder> brokerNodeGroupInfo) Information about the broker nodes.brokerNodeGroupInfo
(BrokerNodeGroupInfo brokerNodeGroupInfo) Information about the broker nodes.default ClusterInfo.Builder
clientAuthentication
(Consumer<ClientAuthentication.Builder> clientAuthentication) Includes all client authentication information.clientAuthentication
(ClientAuthentication clientAuthentication) Includes all client authentication information.clusterArn
(String clusterArn) The Amazon Resource Name (ARN) that uniquely identifies the cluster.clusterName
(String clusterName) The name of the cluster.creationTime
(Instant creationTime) The time when the cluster was created.default ClusterInfo.Builder
currentBrokerSoftwareInfo
(Consumer<BrokerSoftwareInfo.Builder> currentBrokerSoftwareInfo) Information about the version of software currently deployed on the Apache Kafka brokers in the cluster.currentBrokerSoftwareInfo
(BrokerSoftwareInfo currentBrokerSoftwareInfo) Information about the version of software currently deployed on the Apache Kafka brokers in the cluster.currentVersion
(String currentVersion) The current version of the MSK cluster.customerActionStatus
(String customerActionStatus) Determines if there is an action required from the customer.customerActionStatus
(CustomerActionStatus customerActionStatus) Determines if there is an action required from the customer.default ClusterInfo.Builder
encryptionInfo
(Consumer<EncryptionInfo.Builder> encryptionInfo) Includes all encryption-related information.encryptionInfo
(EncryptionInfo encryptionInfo) Includes all encryption-related information.enhancedMonitoring
(String enhancedMonitoring) Specifies which metrics are gathered for the MSK cluster.enhancedMonitoring
(EnhancedMonitoring 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.loggingInfo
(LoggingInfo loggingInfo) Sets the value of the LoggingInfo property for this object.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.openMonitoring
(OpenMonitoring openMonitoring) Settings for open monitoring using Prometheus.The state of the cluster.state
(ClusterState state) The state of the cluster.default ClusterInfo.Builder
stateInfo
(Consumer<StateInfo.Builder> stateInfo) Sets the value of the StateInfo property for this object.Sets the value of the StateInfo property for this object.storageMode
(String storageMode) This controls storage mode for supported storage tiers.storageMode
(StorageMode storageMode) This controls storage mode for supported storage tiers.Tags attached to the cluster.zookeeperConnectString
(String zookeeperConnectString) The connection string to use to connect to the Apache ZooKeeper cluster.zookeeperConnectStringTls
(String zookeeperConnectStringTls) The connection string to use to connect to zookeeper cluster on Tls port.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
activeOperationArn
Arn of active cluster operation.
- Parameters:
activeOperationArn
-Arn of active cluster operation.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
brokerNodeGroupInfo
Information about the broker nodes.
- Parameters:
brokerNodeGroupInfo
-Information about the broker nodes.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
brokerNodeGroupInfo
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 viaBrokerNodeGroupInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobrokerNodeGroupInfo(BrokerNodeGroupInfo)
.- Parameters:
brokerNodeGroupInfo
- a consumer that will call methods onBrokerNodeGroupInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientAuthentication
Includes all client authentication information.
- Parameters:
clientAuthentication
-Includes all client authentication information.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientAuthentication
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 viaClientAuthentication.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toclientAuthentication(ClientAuthentication)
.- Parameters:
clientAuthentication
- a consumer that will call methods onClientAuthentication.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clusterArn
The Amazon Resource Name (ARN) that uniquely identifies the cluster.
- Parameters:
clusterArn
-The Amazon Resource Name (ARN) that uniquely identifies the cluster.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterName
The name of the cluster.
- Parameters:
clusterName
-The name of the cluster.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
The time when the cluster was created.
- Parameters:
creationTime
-The time when the cluster was created.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentBrokerSoftwareInfo
Information about the version of software currently deployed on the Apache Kafka brokers in the cluster.
- Parameters:
currentBrokerSoftwareInfo
-Information about the version of software currently deployed on the Apache Kafka brokers in the cluster.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentBrokerSoftwareInfo
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 viaBrokerSoftwareInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocurrentBrokerSoftwareInfo(BrokerSoftwareInfo)
.- Parameters:
currentBrokerSoftwareInfo
- a consumer that will call methods onBrokerSoftwareInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
currentVersion
The current version of the MSK cluster.
- Parameters:
currentVersion
-The current version of the MSK cluster.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionInfo
Includes all encryption-related information.
- Parameters:
encryptionInfo
-Includes all encryption-related information.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaEncryptionInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toencryptionInfo(EncryptionInfo)
.- Parameters:
encryptionInfo
- a consumer that will call methods onEncryptionInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
openMonitoring
Settings for open monitoring using Prometheus.
- Parameters:
openMonitoring
-Settings for open monitoring using Prometheus.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaOpenMonitoring.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toopenMonitoring(OpenMonitoring)
.- Parameters:
openMonitoring
- a consumer that will call methods onOpenMonitoring.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
loggingInfo
Sets the value of the LoggingInfo property for this object.- Parameters:
loggingInfo
- The new value for the LoggingInfo property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loggingInfo
Sets the value of the LoggingInfo property for this object. This is a convenience method that creates an instance of theLoggingInfo.Builder
avoiding the need to create one manually viaLoggingInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tologgingInfo(LoggingInfo)
.- Parameters:
loggingInfo
- a consumer that will call methods onLoggingInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
numberOfBrokerNodes
The number of broker nodes in the cluster.
- Parameters:
numberOfBrokerNodes
-The number of broker nodes in the cluster.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
The state of the cluster. The possible states are ACTIVE, CREATING, DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING_BROKER, and UPDATING.
- Parameters:
state
-The state of the cluster. The possible states are ACTIVE, CREATING, DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING_BROKER, and UPDATING.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The state of the cluster. The possible states are ACTIVE, CREATING, DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING_BROKER, and UPDATING.
- Parameters:
state
-The state of the cluster. The possible states are ACTIVE, CREATING, DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING_BROKER, and UPDATING.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
stateInfo
Sets the value of the StateInfo property for this object.- Parameters:
stateInfo
- The new value for the StateInfo property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stateInfo
Sets the value of the StateInfo property for this object. This is a convenience method that creates an instance of theStateInfo.Builder
avoiding the need to create one manually viaStateInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostateInfo(StateInfo)
.- Parameters:
stateInfo
- a consumer that will call methods onStateInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
Tags attached to the cluster.
- Parameters:
tags
-Tags attached to the cluster.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
zookeeperConnectString
The connection string to use to connect to the Apache ZooKeeper cluster.
- Parameters:
zookeeperConnectString
-The connection string to use to connect to the Apache ZooKeeper cluster.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
zookeeperConnectStringTls
The connection string to use to connect to zookeeper cluster on Tls port.
- Parameters:
zookeeperConnectStringTls
-The connection string to use to connect to zookeeper cluster on Tls port.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageMode
This controls storage mode for supported storage tiers.
- Parameters:
storageMode
-This controls storage mode for supported storage tiers.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
storageMode
This controls storage mode for supported storage tiers.
- Parameters:
storageMode
-This controls storage mode for supported storage tiers.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
customerActionStatus
Determines if there is an action required from the customer.
- Parameters:
customerActionStatus
-Determines if there is an action required from the customer.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
customerActionStatus
Determines if there is an action required from the customer.
- Parameters:
customerActionStatus
-Determines if there is an action required from the customer.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-