public class NewDeviceMetadataType extends Object implements Serializable
The new device metadata type.
| Constructor and Description |
|---|
NewDeviceMetadataType() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getDeviceGroupKey()
The device group key.
|
String |
getDeviceKey()
The device key.
|
int |
hashCode() |
void |
setDeviceGroupKey(String deviceGroupKey)
The device group key.
|
void |
setDeviceKey(String deviceKey)
The device key.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
NewDeviceMetadataType |
withDeviceGroupKey(String deviceGroupKey)
The device group key.
|
NewDeviceMetadataType |
withDeviceKey(String deviceKey)
The device key.
|
public String getDeviceKey()
The device key.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-f-]+
The device key.
public void setDeviceKey(String deviceKey)
The device key.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-f-]+
deviceKey - The device key.
public NewDeviceMetadataType withDeviceKey(String deviceKey)
The device key.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-f-]+
deviceKey - The device key.
public String getDeviceGroupKey()
The device group key.
The device group key.
public void setDeviceGroupKey(String deviceGroupKey)
The device group key.
deviceGroupKey - The device group key.
public NewDeviceMetadataType withDeviceGroupKey(String deviceGroupKey)
The device group key.
Returns a reference to this object so that method calls can be chained together.
deviceGroupKey - The device group key.
public String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.