Class Device
- java.lang.Object
-
- software.amazon.awssdk.services.iot1clickdevices.model.Device
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Device.Builder,Device>
@Generated("software.amazon.awssdk:codegen") public final class Device extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Device.Builder,Device>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDevice.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Attributesattributes()The user specified attributes associated with the device for an event.static Device.Builderbuilder()StringdeviceId()The unique identifier of the device.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends Device.Builder>serializableBuilderClass()Device.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringtype()The device type, such as "button".-
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
-
attributes
public final Attributes attributes()
The user specified attributes associated with the device for an event.
- Returns:
- The user specified attributes associated with the device for an event.
-
deviceId
public final String deviceId()
The unique identifier of the device.
- Returns:
- The unique identifier of the device.
-
type
public final String type()
The device type, such as "button".
- Returns:
- The device type, such as "button".
-
toBuilder
public Device.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Device.Builder,Device>
-
builder
public static Device.Builder builder()
-
serializableBuilderClass
public static Class<? extends Device.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.
-
-