@Generated(value="software.amazon.awssdk:codegen") public final class DeviceTemplate extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DeviceTemplate.Builder,DeviceTemplate>
An object representing a device for a placement template (see PlacementTemplate).
| Modifier and Type | Class and Description |
|---|---|
static interface |
DeviceTemplate.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DeviceTemplate.Builder |
builder() |
Map<String,String> |
callbackOverrides()
An optional Lambda function to invoke instead of the default Lambda function provided by the placement template.
|
String |
deviceType()
The device type, which currently must be
"button". |
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 DeviceTemplate.Builder> |
serializableBuilderClass() |
DeviceTemplate.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String deviceType()
The device type, which currently must be "button".
"button".public Map<String,String> callbackOverrides()
An optional Lambda function to invoke instead of the default Lambda function provided by the placement template.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public DeviceTemplate.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DeviceTemplate.Builder,DeviceTemplate>public static DeviceTemplate.Builder builder()
public static Class<? extends DeviceTemplate.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2019. All rights reserved.