Interface BrokerNodeInfo.Builder

All Superinterfaces:
Buildable, CopyableBuilder<BrokerNodeInfo.Builder,BrokerNodeInfo>, SdkBuilder<BrokerNodeInfo.Builder,BrokerNodeInfo>, SdkPojo
Enclosing class:
BrokerNodeInfo

public static interface BrokerNodeInfo.Builder extends SdkPojo, CopyableBuilder<BrokerNodeInfo.Builder,BrokerNodeInfo>
  • Method Details

    • attachedENIId

      BrokerNodeInfo.Builder attachedENIId(String attachedENIId)

      The attached elastic network interface of the broker.

      Parameters:
      attachedENIId -

      The attached elastic network interface of the broker.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • brokerId

      BrokerNodeInfo.Builder brokerId(Double brokerId)

      The ID of the broker.

      Parameters:
      brokerId -

      The ID of the broker.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clientSubnet

      BrokerNodeInfo.Builder clientSubnet(String clientSubnet)

      The client subnet to which this broker node belongs.

      Parameters:
      clientSubnet -

      The client subnet to which this broker node belongs.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clientVpcIpAddress

      BrokerNodeInfo.Builder clientVpcIpAddress(String clientVpcIpAddress)

      The virtual private cloud (VPC) of the client.

      Parameters:
      clientVpcIpAddress -

      The virtual private cloud (VPC) of the client.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • currentBrokerSoftwareInfo

      BrokerNodeInfo.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 BrokerNodeInfo.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 the BrokerSoftwareInfo.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).

      Parameters:
      currentBrokerSoftwareInfo - a consumer that will call methods on BrokerSoftwareInfo.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • endpoints

      BrokerNodeInfo.Builder endpoints(Collection<String> endpoints)

      Endpoints for accessing the broker.

      Parameters:
      endpoints -

      Endpoints for accessing the broker.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endpoints

      BrokerNodeInfo.Builder endpoints(String... endpoints)

      Endpoints for accessing the broker.

      Parameters:
      endpoints -

      Endpoints for accessing the broker.

      Returns:
      Returns a reference to this object so that method calls can be chained together.