Class CommandExecutionResult
- java.lang.Object
-
- software.amazon.awssdk.services.iot.model.CommandExecutionResult
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CommandExecutionResult.Builder,CommandExecutionResult>
@Generated("software.amazon.awssdk:codegen") public final class CommandExecutionResult extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CommandExecutionResult.Builder,CommandExecutionResult>
The result value of the command execution. The device can use the result field to share additional details about the execution such as a return value of a remote function call.
This field is not applicable if you use the
AWS-IoT-FleetWisenamespace.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCommandExecutionResult.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Booleanb()An attribute of type Boolean.SdkBytesbin()An attribute of type Binary.static CommandExecutionResult.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Strings()An attribute of type String.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends CommandExecutionResult.Builder>serializableBuilderClass()CommandExecutionResult.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
-
s
public final String s()
An attribute of type String. For example:
"S": "Hello"- Returns:
- An attribute of type String. For example:
"S": "Hello"
-
b
public final Boolean b()
An attribute of type Boolean. For example:
"BOOL": true- Returns:
- An attribute of type Boolean. For example:
"BOOL": true
-
bin
public final SdkBytes bin()
An attribute of type Binary.
- Returns:
- An attribute of type Binary.
-
toBuilder
public CommandExecutionResult.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CommandExecutionResult.Builder,CommandExecutionResult>
-
builder
public static CommandExecutionResult.Builder builder()
-
serializableBuilderClass
public static Class<? extends CommandExecutionResult.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
-
-