Class MQTTCredential

java.lang.Object
software.amazon.awssdk.aws.greengrass.model.MQTTCredential
All Implemented Interfaces:
EventStreamJsonMessage

public class MQTTCredential extends Object implements EventStreamJsonMessage
  • Field Details

  • Constructor Details

    • MQTTCredential

      public MQTTCredential()
  • Method Details

    • getClientId

      public String getClientId()
      The client ID to used to connect.
    • setClientId

      public void setClientId(String clientId)
      The client ID to used to connect.
    • withClientId

      public MQTTCredential withClientId(String clientId)
      The client ID to used to connect.
    • getCertificatePem

      public String getCertificatePem()
      The client certificate in pem format.
    • setCertificatePem

      public void setCertificatePem(String certificatePem)
      The client certificate in pem format.
    • withCertificatePem

      public MQTTCredential withCertificatePem(String certificatePem)
      The client certificate in pem format.
    • getUsername

      public String getUsername()
      The username. (unused).
    • setUsername

      public void setUsername(String username)
      The username. (unused).
    • withUsername

      public MQTTCredential withUsername(String username)
      The username. (unused).
    • getPassword

      public String getPassword()
      The password. (unused).
    • setPassword

      public void setPassword(String password)
      The password. (unused).
    • withPassword

      public MQTTCredential withPassword(String password)
      The password. (unused).
    • getApplicationModelType

      public String getApplicationModelType()
      Description copied from interface: EventStreamJsonMessage
      Returns the named model type. May be used for a header.
      Specified by:
      getApplicationModelType in interface EventStreamJsonMessage
      Returns:
      the named model type
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object