@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssetModelProperty extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about an asset model property.
| Constructor and Description |
|---|
AssetModelProperty() |
| Modifier and Type | Method and Description |
|---|---|
AssetModelProperty |
clone() |
boolean |
equals(Object obj) |
String |
getDataType()
The data type of the asset model property.
|
String |
getDataTypeSpec()
The data type of the structure for this property.
|
String |
getId()
The ID of the asset model property.
|
String |
getName()
The name of the asset model property.
|
PropertyType |
getType()
The property type (see
PropertyType). |
String |
getUnit()
The unit of the asset model property, such as
Newtons or RPM. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setDataType(String dataType)
The data type of the asset model property.
|
void |
setDataTypeSpec(String dataTypeSpec)
The data type of the structure for this property.
|
void |
setId(String id)
The ID of the asset model property.
|
void |
setName(String name)
The name of the asset model property.
|
void |
setType(PropertyType type)
The property type (see
PropertyType). |
void |
setUnit(String unit)
The unit of the asset model property, such as
Newtons or RPM. |
String |
toString()
Returns a string representation of this object.
|
AssetModelProperty |
withDataType(PropertyDataType dataType)
The data type of the asset model property.
|
AssetModelProperty |
withDataType(String dataType)
The data type of the asset model property.
|
AssetModelProperty |
withDataTypeSpec(String dataTypeSpec)
The data type of the structure for this property.
|
AssetModelProperty |
withId(String id)
The ID of the asset model property.
|
AssetModelProperty |
withName(String name)
The name of the asset model property.
|
AssetModelProperty |
withType(PropertyType type)
The property type (see
PropertyType). |
AssetModelProperty |
withUnit(String unit)
The unit of the asset model property, such as
Newtons or RPM. |
public void setId(String id)
The ID of the asset model property.
id - The ID of the asset model property.public String getId()
The ID of the asset model property.
public AssetModelProperty withId(String id)
The ID of the asset model property.
id - The ID of the asset model property.public void setName(String name)
The name of the asset model property.
name - The name of the asset model property.public String getName()
The name of the asset model property.
public AssetModelProperty withName(String name)
The name of the asset model property.
name - The name of the asset model property.public void setDataType(String dataType)
The data type of the asset model property.
dataType - The data type of the asset model property.PropertyDataTypepublic String getDataType()
The data type of the asset model property.
PropertyDataTypepublic AssetModelProperty withDataType(String dataType)
The data type of the asset model property.
dataType - The data type of the asset model property.PropertyDataTypepublic AssetModelProperty withDataType(PropertyDataType dataType)
The data type of the asset model property.
dataType - The data type of the asset model property.PropertyDataTypepublic void setDataTypeSpec(String dataTypeSpec)
The data type of the structure for this property. This parameter exists on properties that have the
STRUCT data type.
dataTypeSpec - The data type of the structure for this property. This parameter exists on properties that have the
STRUCT data type.public String getDataTypeSpec()
The data type of the structure for this property. This parameter exists on properties that have the
STRUCT data type.
STRUCT data type.public AssetModelProperty withDataTypeSpec(String dataTypeSpec)
The data type of the structure for this property. This parameter exists on properties that have the
STRUCT data type.
dataTypeSpec - The data type of the structure for this property. This parameter exists on properties that have the
STRUCT data type.public void setUnit(String unit)
The unit of the asset model property, such as Newtons or RPM.
unit - The unit of the asset model property, such as Newtons or RPM.public String getUnit()
The unit of the asset model property, such as Newtons or RPM.
Newtons or RPM.public AssetModelProperty withUnit(String unit)
The unit of the asset model property, such as Newtons or RPM.
unit - The unit of the asset model property, such as Newtons or RPM.public void setType(PropertyType type)
The property type (see PropertyType).
type - The property type (see PropertyType).public PropertyType getType()
The property type (see PropertyType).
PropertyType).public AssetModelProperty withType(PropertyType type)
The property type (see PropertyType).
type - The property type (see PropertyType).public String toString()
toString in class ObjectObject.toString()public AssetModelProperty clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2021. All rights reserved.