@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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends DeviceTemplate.Builder> |
serializableBuilderClass() |
DeviceTemplate.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public 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()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DeviceTemplate.Builder,DeviceTemplate>
public static DeviceTemplate.Builder builder()
public static Class<? extends DeviceTemplate.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.