Class CommandPayload
- java.lang.Object
-
- software.amazon.awssdk.services.iot.model.CommandPayload
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CommandPayload.Builder,CommandPayload>
@Generated("software.amazon.awssdk:codegen") public final class CommandPayload extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CommandPayload.Builder,CommandPayload>
The command payload object that contains the instructions for the device to process.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCommandPayload.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CommandPayload.Builderbuilder()SdkBytescontent()The static payload file for the command.StringcontentType()The content type that specifies the format type of the payload file.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends CommandPayload.Builder>serializableBuilderClass()CommandPayload.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
content
public final SdkBytes content()
The static payload file for the command.
- Returns:
- The static payload file for the command.
-
contentType
public final String contentType()
The content type that specifies the format type of the payload file. This field must use a type/subtype format, such as
application/json. For information about various content types, see Common MIME types.- Returns:
- The content type that specifies the format type of the payload file. This field must use a type/subtype
format, such as
application/json. For information about various content types, see Common MIME types.
-
toBuilder
public CommandPayload.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CommandPayload.Builder,CommandPayload>
-
builder
public static CommandPayload.Builder builder()
-
serializableBuilderClass
public static Class<? extends CommandPayload.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-