@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeviceMethod extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
DeviceMethod() |
Modifier and Type | Method and Description |
---|---|
DeviceMethod |
clone() |
boolean |
equals(Object obj) |
String |
getDeviceType()
The type of the device, such as "button".
|
String |
getMethodName()
The name of the method applicable to the deviceType.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDeviceType(String deviceType)
The type of the device, such as "button".
|
void |
setMethodName(String methodName)
The name of the method applicable to the deviceType.
|
String |
toString()
Returns a string representation of this object.
|
DeviceMethod |
withDeviceType(String deviceType)
The type of the device, such as "button".
|
DeviceMethod |
withMethodName(String methodName)
The name of the method applicable to the deviceType.
|
public void setDeviceType(String deviceType)
The type of the device, such as "button".
deviceType
- The type of the device, such as "button".public String getDeviceType()
The type of the device, such as "button".
public DeviceMethod withDeviceType(String deviceType)
The type of the device, such as "button".
deviceType
- The type of the device, such as "button".public void setMethodName(String methodName)
The name of the method applicable to the deviceType.
methodName
- The name of the method applicable to the deviceType.public String getMethodName()
The name of the method applicable to the deviceType.
public DeviceMethod withMethodName(String methodName)
The name of the method applicable to the deviceType.
methodName
- The name of the method applicable to the deviceType.public String toString()
toString
in class Object
Object.toString()
public DeviceMethod clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.