@Generated(value="software.amazon.awssdk:codegen") public final class Device extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Device.Builder,Device>
| Modifier and Type | Class and Description |
|---|---|
static interface |
Device.Builder |
| Modifier and Type | Method and Description |
|---|---|
Attributes |
attributes()
The user specified attributes associated with the device for an event.
|
static Device.Builder |
builder() |
String |
deviceId()
The unique identifier of the device.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends Device.Builder> |
serializableBuilderClass() |
Device.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
type()
The device type, such as "button".
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Attributes attributes()
The user specified attributes associated with the device for an event.
public final String deviceId()
The unique identifier of the device.
public final String type()
The device type, such as "button".
public Device.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Device.Builder,Device>public static Device.Builder builder()
public static Class<? extends Device.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.