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 String
APPLICATION_MODEL_TYPE
static MQTTCredential
VOID
-
Constructor Summary
Constructors Constructor Description MQTTCredential()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object rhs)
String
getApplicationModelType()
Returns the named model type.String
getCertificatePem()
The client certificate in pem format.String
getClientId()
The client ID to used to connect.String
getPassword()
The password.String
getUsername()
The username.int
hashCode()
void
setCertificatePem(String certificatePem)
The client certificate in pem format.void
setClientId(String clientId)
The client ID to used to connect.void
setPassword(String password)
The password.void
setUsername(String username)
The username.MQTTCredential
withCertificatePem(String certificatePem)
The client certificate in pem format.MQTTCredential
withClientId(String clientId)
The client ID to used to connect.MQTTCredential
withPassword(String password)
The password.MQTTCredential
withUsername(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:EventStreamJsonMessage
Returns the named model type. May be used for a header.- Specified by:
getApplicationModelType
in interfaceEventStreamJsonMessage
- Returns:
- the named model type
-
-