@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeviceTemplate extends Object implements Serializable, Cloneable, StructuredPojo
An object representing a device for a placement template (see PlacementTemplate).
Constructor and Description |
---|
DeviceTemplate() |
Modifier and Type | Method and Description |
---|---|
DeviceTemplate |
addCallbackOverridesEntry(String key,
String value)
Add a single CallbackOverrides entry
|
DeviceTemplate |
clearCallbackOverridesEntries()
Removes all the entries added into CallbackOverrides.
|
DeviceTemplate |
clone() |
boolean |
equals(Object obj) |
Map<String,String> |
getCallbackOverrides()
An optional Lambda function to invoke instead of the default Lambda function provided by the placement template.
|
String |
getDeviceType()
The device type, which currently must be
"button" . |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCallbackOverrides(Map<String,String> callbackOverrides)
An optional Lambda function to invoke instead of the default Lambda function provided by the placement template.
|
void |
setDeviceType(String deviceType)
The device type, which currently must be
"button" . |
String |
toString()
Returns a string representation of this object.
|
DeviceTemplate |
withCallbackOverrides(Map<String,String> callbackOverrides)
An optional Lambda function to invoke instead of the default Lambda function provided by the placement template.
|
DeviceTemplate |
withDeviceType(String deviceType)
The device type, which currently must be
"button" . |
public void setDeviceType(String deviceType)
The device type, which currently must be "button"
.
deviceType
- The device type, which currently must be "button"
.public String getDeviceType()
The device type, which currently must be "button"
.
"button"
.public DeviceTemplate withDeviceType(String deviceType)
The device type, which currently must be "button"
.
deviceType
- The device type, which currently must be "button"
.public Map<String,String> getCallbackOverrides()
An optional Lambda function to invoke instead of the default Lambda function provided by the placement template.
public void setCallbackOverrides(Map<String,String> callbackOverrides)
An optional Lambda function to invoke instead of the default Lambda function provided by the placement template.
callbackOverrides
- An optional Lambda function to invoke instead of the default Lambda function provided by the placement
template.public DeviceTemplate withCallbackOverrides(Map<String,String> callbackOverrides)
An optional Lambda function to invoke instead of the default Lambda function provided by the placement template.
callbackOverrides
- An optional Lambda function to invoke instead of the default Lambda function provided by the placement
template.public DeviceTemplate addCallbackOverridesEntry(String key, String value)
public DeviceTemplate clearCallbackOverridesEntries()
public String toString()
toString
in class Object
Object.toString()
public DeviceTemplate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.