Class ConnectivityInfo

java.lang.Object
software.amazon.awssdk.iot.discovery.model.ConnectivityInfo

public class ConnectivityInfo extends Object
Describes a Greengrass core endpoint that a device can connect to API Documentation: https://docs.aws.amazon.com/greengrass/latest/developerguide/gg-discover-api.html
  • Constructor Details

    • ConnectivityInfo

      public ConnectivityInfo()
  • Method Details

    • getId

      public String getId()
      Returns:
      identifier associated with this endpoint entry
    • setId

      public void setId(String id)
      Sets the identifier associated with this endpoint entry
      Parameters:
      id - identifier associated with this endpoint entry
    • getHostAddress

      public String getHostAddress()
      Returns:
      address of the endpoint
    • setHostAddress

      public void setHostAddress(String hostAddress)
      Sets the address of the endpoint
      Parameters:
      hostAddress - address of the endpoint
    • getMetadata

      public String getMetadata()
      Returns:
      additional user-configurable metadata about the connectivity entry
    • setMetadata

      public void setMetadata(String metadata)
      Sets the additional user-configurable metadata about the connectivity entry
      Parameters:
      metadata - Additional user-configurable metadata about the connectivity entry
    • getPortNumber

      public Integer getPortNumber()
      Returns:
      port of the endpoint
    • setPortNumber

      public void setPortNumber(Integer portNumber)
      Sets the port of the endpoint
      Parameters:
      portNumber - port of the endpoint
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object