Class MQTTCredential
- java.lang.Object
-
- software.amazon.awssdk.aws.greengrass.model.MQTTCredential
-
- All Implemented Interfaces:
EventStreamJsonMessage
public class MQTTCredential extends Object implements EventStreamJsonMessage
-
-
Field Summary
Fields Modifier and Type Field Description static StringAPPLICATION_MODEL_TYPEstatic MQTTCredentialVOID
-
Constructor Summary
Constructors Constructor Description MQTTCredential()
-
Method Summary
All 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.Object
getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.eventstreamrpc.model.EventStreamJsonMessage
fromJson, isVoid, postFromJson, toPayload
-
-
-
-
Field Detail
-
APPLICATION_MODEL_TYPE
public static final String APPLICATION_MODEL_TYPE
- See Also:
- Constant Field Values
-
VOID
public static final MQTTCredential VOID
-
-
Method Detail
-
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:EventStreamJsonMessageReturns the named model type. May be used for a header.- Specified by:
getApplicationModelTypein interfaceEventStreamJsonMessage- Returns:
- the named model type
-
-