public class DeviceSpecificationCreateRequest extends java.lang.Object implements IDeviceSpecificationCreateRequest, java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
DeviceSpecificationCreateRequest.Builder |
static class |
DeviceSpecificationCreateRequest.DeviceElementSchemaBuilder |
static class |
DeviceSpecificationCreateRequest.DeviceUnitBuilder |
Constructor and Description |
---|
DeviceSpecificationCreateRequest() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAssetId()
Get id for specification asset type.
|
java.lang.String |
getAssetModuleId()
Get id for asset module.
|
DeviceContainerPolicy |
getContainerPolicy()
Get container policy.
|
IDeviceElementSchema |
getDeviceElementSchema()
Get
IDeviceElementSchema for locating nested devices. |
java.util.Map<java.lang.String,java.lang.String> |
getMetadata()
Get metadata values.
|
java.lang.String |
getName()
Get name that describes specification.
|
java.lang.String |
getToken()
Allows the specification id to be specified.
|
void |
setAssetId(java.lang.String assetId) |
void |
setAssetModuleId(java.lang.String assetModuleId) |
void |
setContainerPolicy(DeviceContainerPolicy containerPolicy) |
void |
setDeviceElementSchema(DeviceElementSchema deviceElementSchema) |
void |
setMetadata(java.util.Map<java.lang.String,java.lang.String> metadata) |
void |
setName(java.lang.String name) |
void |
setToken(java.lang.String token) |
public java.lang.String getName()
IDeviceSpecificationCreateRequest
getName
in interface IDeviceSpecificationCreateRequest
public void setName(java.lang.String name)
public java.lang.String getAssetModuleId()
IDeviceSpecificationCreateRequest
getAssetModuleId
in interface IDeviceSpecificationCreateRequest
public void setAssetModuleId(java.lang.String assetModuleId)
public java.lang.String getAssetId()
IDeviceSpecificationCreateRequest
getAssetId
in interface IDeviceSpecificationCreateRequest
public void setAssetId(java.lang.String assetId)
public java.lang.String getToken()
IDeviceSpecificationCreateRequest
getToken
in interface IDeviceSpecificationCreateRequest
public void setToken(java.lang.String token)
public DeviceContainerPolicy getContainerPolicy()
IDeviceSpecificationCreateRequest
getContainerPolicy
in interface IDeviceSpecificationCreateRequest
public void setContainerPolicy(DeviceContainerPolicy containerPolicy)
public IDeviceElementSchema getDeviceElementSchema()
IDeviceSpecificationCreateRequest
IDeviceElementSchema
for locating nested devices.getDeviceElementSchema
in interface IDeviceSpecificationCreateRequest
public void setDeviceElementSchema(DeviceElementSchema deviceElementSchema)
public java.util.Map<java.lang.String,java.lang.String> getMetadata()
IDeviceSpecificationCreateRequest
getMetadata
in interface IDeviceSpecificationCreateRequest
public void setMetadata(java.util.Map<java.lang.String,java.lang.String> metadata)