Class MQTTCredential
java.lang.Object
software.amazon.awssdk.aws.greengrass.model.MQTTCredential
- All Implemented Interfaces:
EventStreamJsonMessage
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the named model type.The client certificate in pem format.The client ID to used to connect.The password.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.withCertificatePem(String certificatePem) The client certificate in pem format.withClientId(String clientId) The client ID to used to connect.withPassword(String password) The password.withUsername(String username) The username.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.awssdk.eventstreamrpc.model.EventStreamJsonMessage
fromJson, isVoid, postFromJson, toPayload
-
Field Details
-
APPLICATION_MODEL_TYPE
- See Also:
-
VOID
-
-
Constructor Details
-
MQTTCredential
public MQTTCredential()
-
-
Method Details
-
getClientId
The client ID to used to connect. -
setClientId
The client ID to used to connect. -
withClientId
The client ID to used to connect. -
getCertificatePem
The client certificate in pem format. -
setCertificatePem
The client certificate in pem format. -
withCertificatePem
The client certificate in pem format. -
getUsername
The username. (unused). -
setUsername
The username. (unused). -
withUsername
The username. (unused). -
getPassword
The password. (unused). -
setPassword
The password. (unused). -
withPassword
The password. (unused). -
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
-
equals
-
hashCode
public int hashCode()
-