Interface ClusterInfo.Builder

    • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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