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