Interface ClusterInfo.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ClusterInfo.Builder,ClusterInfo>,SdkBuilder<ClusterInfo.Builder,ClusterInfo>,SdkPojo
- Enclosing class:
- ClusterInfo
public static interface ClusterInfo.Builder extends SdkPojo, CopyableBuilder<ClusterInfo.Builder,ClusterInfo>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ClusterInfo.BuilderactiveOperationArn(String activeOperationArn)Arn of active cluster operation.default ClusterInfo.BuilderbrokerNodeGroupInfo(Consumer<BrokerNodeGroupInfo.Builder> brokerNodeGroupInfo)Information about the broker nodes.ClusterInfo.BuilderbrokerNodeGroupInfo(BrokerNodeGroupInfo brokerNodeGroupInfo)Information about the broker nodes.default ClusterInfo.BuilderclientAuthentication(Consumer<ClientAuthentication.Builder> clientAuthentication)Includes all client authentication information.ClusterInfo.BuilderclientAuthentication(ClientAuthentication clientAuthentication)Includes all client authentication information.ClusterInfo.BuilderclusterArn(String clusterArn)The Amazon Resource Name (ARN) that uniquely identifies the cluster.ClusterInfo.BuilderclusterName(String clusterName)The name of the cluster.ClusterInfo.BuildercreationTime(Instant creationTime)The time when the cluster was created.default ClusterInfo.BuildercurrentBrokerSoftwareInfo(Consumer<BrokerSoftwareInfo.Builder> currentBrokerSoftwareInfo)Information about the version of software currently deployed on the Apache Kafka brokers in the cluster.ClusterInfo.BuildercurrentBrokerSoftwareInfo(BrokerSoftwareInfo currentBrokerSoftwareInfo)Information about the version of software currently deployed on the Apache Kafka brokers in the cluster.ClusterInfo.BuildercurrentVersion(String currentVersion)The current version of the MSK cluster.ClusterInfo.BuildercustomerActionStatus(String customerActionStatus)Determines if there is an action required from the customer.ClusterInfo.BuildercustomerActionStatus(CustomerActionStatus customerActionStatus)Determines if there is an action required from the customer.default ClusterInfo.BuilderencryptionInfo(Consumer<EncryptionInfo.Builder> encryptionInfo)Includes all encryption-related information.ClusterInfo.BuilderencryptionInfo(EncryptionInfo encryptionInfo)Includes all encryption-related information.ClusterInfo.BuilderenhancedMonitoring(String enhancedMonitoring)Specifies which metrics are gathered for the MSK cluster.ClusterInfo.BuilderenhancedMonitoring(EnhancedMonitoring enhancedMonitoring)Specifies which metrics are gathered for the MSK cluster.default ClusterInfo.BuilderloggingInfo(Consumer<LoggingInfo.Builder> loggingInfo)Sets the value of the LoggingInfo property for this object.ClusterInfo.BuilderloggingInfo(LoggingInfo loggingInfo)Sets the value of the LoggingInfo property for this object.ClusterInfo.BuildernumberOfBrokerNodes(Integer numberOfBrokerNodes)The number of broker nodes in the cluster.default ClusterInfo.BuilderopenMonitoring(Consumer<OpenMonitoring.Builder> openMonitoring)Settings for open monitoring using Prometheus.ClusterInfo.BuilderopenMonitoring(OpenMonitoring openMonitoring)Settings for open monitoring using Prometheus.ClusterInfo.Builderstate(String state)The state of the cluster.ClusterInfo.Builderstate(ClusterState state)The state of the cluster.default ClusterInfo.BuilderstateInfo(Consumer<StateInfo.Builder> stateInfo)Sets the value of the StateInfo property for this object.ClusterInfo.BuilderstateInfo(StateInfo stateInfo)Sets the value of the StateInfo property for this object.ClusterInfo.BuilderstorageMode(String storageMode)This controls storage mode for supported storage tiers.ClusterInfo.BuilderstorageMode(StorageMode storageMode)This controls storage mode for supported storage tiers.ClusterInfo.Buildertags(Map<String,String> tags)Tags attached to the cluster.ClusterInfo.BuilderzookeeperConnectString(String zookeeperConnectString)The connection string to use to connect to the Apache ZooKeeper cluster.ClusterInfo.BuilderzookeeperConnectStringTls(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
activeOperationArn
ClusterInfo.Builder activeOperationArn(String 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
ClusterInfo.Builder brokerNodeGroupInfo(BrokerNodeGroupInfo 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.Builderavoiding the need to create one manually viaBrokerNodeGroupInfo.builder().When the
Consumercompletes,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:
brokerNodeGroupInfo(BrokerNodeGroupInfo)
-
clientAuthentication
ClusterInfo.Builder clientAuthentication(ClientAuthentication 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.Builderavoiding the need to create one manually viaClientAuthentication.builder().When the
Consumercompletes,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:
clientAuthentication(ClientAuthentication)
-
clusterArn
ClusterInfo.Builder clusterArn(String 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
ClusterInfo.Builder clusterName(String 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
ClusterInfo.Builder creationTime(Instant 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
ClusterInfo.Builder currentBrokerSoftwareInfo(BrokerSoftwareInfo 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.Builderavoiding the need to create one manually viaBrokerSoftwareInfo.builder().When the
Consumercompletes,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:
currentBrokerSoftwareInfo(BrokerSoftwareInfo)
-
currentVersion
ClusterInfo.Builder currentVersion(String 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
ClusterInfo.Builder encryptionInfo(EncryptionInfo 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
default ClusterInfo.Builder encryptionInfo(Consumer<EncryptionInfo.Builder> encryptionInfo)
Includes all encryption-related information.
This is a convenience method that creates an instance of theEncryptionInfo.Builderavoiding the need to create one manually viaEncryptionInfo.builder().When the
Consumercompletes,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:
encryptionInfo(EncryptionInfo)
-
enhancedMonitoring
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.
- 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,EnhancedMonitoring
-
enhancedMonitoring
ClusterInfo.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.
- 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,EnhancedMonitoring
-
openMonitoring
ClusterInfo.Builder openMonitoring(OpenMonitoring 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
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.Builderavoiding the need to create one manually viaOpenMonitoring.builder().When the
Consumercompletes,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:
openMonitoring(OpenMonitoring)
-
loggingInfo
ClusterInfo.Builder loggingInfo(LoggingInfo 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
default ClusterInfo.Builder loggingInfo(Consumer<LoggingInfo.Builder> loggingInfo)
Sets the value of the LoggingInfo property for this object. This is a convenience method that creates an instance of theLoggingInfo.Builderavoiding the need to create one manually viaLoggingInfo.builder().When the
Consumercompletes,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:
loggingInfo(LoggingInfo)
-
numberOfBrokerNodes
ClusterInfo.Builder numberOfBrokerNodes(Integer 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
ClusterInfo.Builder state(String 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:
ClusterState,ClusterState
-
state
ClusterInfo.Builder state(ClusterState 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:
ClusterState,ClusterState
-
stateInfo
ClusterInfo.Builder stateInfo(StateInfo 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
default ClusterInfo.Builder stateInfo(Consumer<StateInfo.Builder> stateInfo)
Sets the value of the StateInfo property for this object. This is a convenience method that creates an instance of theStateInfo.Builderavoiding the need to create one manually viaStateInfo.builder().When the
Consumercompletes,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:
stateInfo(StateInfo)
-
tags
ClusterInfo.Builder tags(Map<String,String> 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
ClusterInfo.Builder zookeeperConnectString(String 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
ClusterInfo.Builder zookeeperConnectStringTls(String 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
ClusterInfo.Builder storageMode(String 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,StorageMode
-
storageMode
ClusterInfo.Builder storageMode(StorageMode 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,StorageMode
-
customerActionStatus
ClusterInfo.Builder customerActionStatus(String 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,CustomerActionStatus
-
customerActionStatus
ClusterInfo.Builder customerActionStatus(CustomerActionStatus 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,CustomerActionStatus
-
-