Interface ConnectivityInfo.Builder

  • Method Details

    • id

      An ID for the connectivity information.

      Parameters:
      id - An ID for the connectivity information.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • hostAddress

      ConnectivityInfo.Builder hostAddress(String hostAddress)

      The IP address or DNS address where client devices can connect to an MQTT broker on the Greengrass core device.

      Parameters:
      hostAddress - The IP address or DNS address where client devices can connect to an MQTT broker on the Greengrass core device.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • portNumber

      ConnectivityInfo.Builder portNumber(Integer portNumber)

      The port where the MQTT broker operates on the core device. This port is typically 8883, which is the default port for the MQTT broker component that runs on core devices.

      Parameters:
      portNumber - The port where the MQTT broker operates on the core device. This port is typically 8883, which is the default port for the MQTT broker component that runs on core devices.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • metadata

      ConnectivityInfo.Builder metadata(String metadata)

      Additional metadata to provide to client devices that connect to this core device.

      Parameters:
      metadata - Additional metadata to provide to client devices that connect to this core device.
      Returns:
      Returns a reference to this object so that method calls can be chained together.