Class MqttContext
- java.lang.Object
-
- software.amazon.awssdk.services.iot.model.MqttContext
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<MqttContext.Builder,MqttContext>
@Generated("software.amazon.awssdk:codegen") public final class MqttContext extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MqttContext.Builder,MqttContext>
Specifies the MQTT context to use for the test authorizer request
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceMqttContext.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MqttContext.Builderbuilder()StringclientId()The value of theclientIdkey in an MQTT authorization request.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()SdkBytespassword()The value of thepasswordkey in an MQTT authorization request.List<SdkField<?>>sdkFields()static Class<? extends MqttContext.Builder>serializableBuilderClass()MqttContext.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringusername()The value of theusernamekey in an MQTT authorization request.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
username
public final String username()
The value of the
usernamekey in an MQTT authorization request.- Returns:
- The value of the
usernamekey in an MQTT authorization request.
-
password
public final SdkBytes password()
The value of the
passwordkey in an MQTT authorization request.- Returns:
- The value of the
passwordkey in an MQTT authorization request.
-
clientId
public final String clientId()
The value of the
clientIdkey in an MQTT authorization request.- Returns:
- The value of the
clientIdkey in an MQTT authorization request.
-
toBuilder
public MqttContext.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<MqttContext.Builder,MqttContext>
-
builder
public static MqttContext.Builder builder()
-
serializableBuilderClass
public static Class<? extends MqttContext.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-