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 interface
CommandPayload.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CommandPayload.Builder
builder()
SdkBytes
content()
The static payload file for the command.String
contentType()
The content type that specifies the format type of the payload file.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends CommandPayload.Builder>
serializableBuilderClass()
CommandPayload.Builder
toBuilder()
String
toString()
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:
toBuilder
in 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:
equalsBySdkFields
in 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:
sdkFieldNameToField
in interfaceSdkPojo
-
-