Class MQTTCredential
- java.lang.Object
- 
- software.amazon.awssdk.aws.greengrass.model.MQTTCredential
 
- 
- All Implemented Interfaces:
- EventStreamJsonMessage
 
 public class MQTTCredential extends Object implements EventStreamJsonMessage 
- 
- 
Field SummaryFields Modifier and Type Field Description static StringAPPLICATION_MODEL_TYPEstatic MQTTCredentialVOID
 - 
Constructor SummaryConstructors Constructor Description MQTTCredential()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object rhs)StringgetApplicationModelType()Returns the named model type.StringgetCertificatePem()The client certificate in pem format.StringgetClientId()The client ID to used to connect.StringgetPassword()The password.StringgetUsername()The username.inthashCode()voidsetCertificatePem(String certificatePem)The client certificate in pem format.voidsetClientId(String clientId)The client ID to used to connect.voidsetPassword(String password)The password.voidsetUsername(String username)The username.MQTTCredentialwithCertificatePem(String certificatePem)The client certificate in pem format.MQTTCredentialwithClientId(String clientId)The client ID to used to connect.MQTTCredentialwithPassword(String password)The password.MQTTCredentialwithUsername(String username)The username.- 
Methods inherited from class java.lang.ObjectgetClass, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface software.amazon.awssdk.eventstreamrpc.model.EventStreamJsonMessagefromJson, isVoid, postFromJson, toPayload
 
- 
 
- 
- 
- 
Field Detail- 
APPLICATION_MODEL_TYPEpublic static final String APPLICATION_MODEL_TYPE - See Also:
- Constant Field Values
 
 - 
VOIDpublic static final MQTTCredential VOID 
 
- 
 - 
Method Detail- 
getClientIdpublic String getClientId() The client ID to used to connect.
 - 
setClientIdpublic void setClientId(String clientId) The client ID to used to connect.
 - 
withClientIdpublic MQTTCredential withClientId(String clientId) The client ID to used to connect.
 - 
getCertificatePempublic String getCertificatePem() The client certificate in pem format.
 - 
setCertificatePempublic void setCertificatePem(String certificatePem) The client certificate in pem format.
 - 
withCertificatePempublic MQTTCredential withCertificatePem(String certificatePem) The client certificate in pem format.
 - 
getUsernamepublic String getUsername() The username. (unused).
 - 
setUsernamepublic void setUsername(String username) The username. (unused).
 - 
withUsernamepublic MQTTCredential withUsername(String username) The username. (unused).
 - 
getPasswordpublic String getPassword() The password. (unused).
 - 
setPasswordpublic void setPassword(String password) The password. (unused).
 - 
withPasswordpublic MQTTCredential withPassword(String password) The password. (unused).
 - 
getApplicationModelTypepublic String getApplicationModelType() Description copied from interface:EventStreamJsonMessageReturns the named model type. May be used for a header.- Specified by:
- getApplicationModelTypein interface- EventStreamJsonMessage
- Returns:
- the named model type
 
 
- 
 
-