@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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends Device.Builder> |
serializableBuilderClass() |
Device.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
type()
The device type, such as "button".
|
copy
public Attributes attributes()
The user specified attributes associated with the device for an event.
public String deviceId()
The unique identifier of the device.
public String type()
The device type, such as "button".
public Device.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Device.Builder,Device>
public static Device.Builder builder()
public static Class<? extends Device.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.