@Generated(value="software.amazon.awssdk:codegen") public final class DeviceMethod extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DeviceMethod.Builder,DeviceMethod>
Modifier and Type | Class and Description |
---|---|
static interface |
DeviceMethod.Builder |
Modifier and Type | Method and Description |
---|---|
static DeviceMethod.Builder |
builder() |
String |
deviceType()
The type of the device, such as "button".
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
methodName()
The name of the method applicable to the deviceType.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DeviceMethod.Builder> |
serializableBuilderClass() |
DeviceMethod.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 type of the device, such as "button".
public String methodName()
The name of the method applicable to the deviceType.
public DeviceMethod.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DeviceMethod.Builder,DeviceMethod>
public static DeviceMethod.Builder builder()
public static Class<? extends DeviceMethod.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.