@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssetModelPropertySummary extends Object implements Serializable, Cloneable, StructuredPojo
Contains a summary of a property associated with a model.
Constructor and Description |
---|
AssetModelPropertySummary() |
Modifier and Type | Method and Description |
---|---|
AssetModelPropertySummary |
clone() |
boolean |
equals(Object obj) |
String |
getAssetModelCompositeModelId()
The ID of the composite model that contains the asset model property.
|
String |
getDataType()
The data type of the property.
|
String |
getDataTypeSpec()
The data type of the structure for this property.
|
String |
getExternalId()
The external ID of the property.
|
String |
getId()
The ID of the property.
|
String |
getName()
The name of the property.
|
List<AssetModelPropertyPathSegment> |
getPath()
The structured path to the property from the root of the asset model.
|
PropertyType |
getType() |
String |
getUnit()
The unit (such as
Newtons or RPM ) of the property. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAssetModelCompositeModelId(String assetModelCompositeModelId)
The ID of the composite model that contains the asset model property.
|
void |
setDataType(String dataType)
The data type of the property.
|
void |
setDataTypeSpec(String dataTypeSpec)
The data type of the structure for this property.
|
void |
setExternalId(String externalId)
The external ID of the property.
|
void |
setId(String id)
The ID of the property.
|
void |
setName(String name)
The name of the property.
|
void |
setPath(Collection<AssetModelPropertyPathSegment> path)
The structured path to the property from the root of the asset model.
|
void |
setType(PropertyType type) |
void |
setUnit(String unit)
The unit (such as
Newtons or RPM ) of the property. |
String |
toString()
Returns a string representation of this object.
|
AssetModelPropertySummary |
withAssetModelCompositeModelId(String assetModelCompositeModelId)
The ID of the composite model that contains the asset model property.
|
AssetModelPropertySummary |
withDataType(PropertyDataType dataType)
The data type of the property.
|
AssetModelPropertySummary |
withDataType(String dataType)
The data type of the property.
|
AssetModelPropertySummary |
withDataTypeSpec(String dataTypeSpec)
The data type of the structure for this property.
|
AssetModelPropertySummary |
withExternalId(String externalId)
The external ID of the property.
|
AssetModelPropertySummary |
withId(String id)
The ID of the property.
|
AssetModelPropertySummary |
withName(String name)
The name of the property.
|
AssetModelPropertySummary |
withPath(AssetModelPropertyPathSegment... path)
The structured path to the property from the root of the asset model.
|
AssetModelPropertySummary |
withPath(Collection<AssetModelPropertyPathSegment> path)
The structured path to the property from the root of the asset model.
|
AssetModelPropertySummary |
withType(PropertyType type) |
AssetModelPropertySummary |
withUnit(String unit)
The unit (such as
Newtons or RPM ) of the property. |
public void setId(String id)
The ID of the property.
id
- The ID of the property.public String getId()
The ID of the property.
public AssetModelPropertySummary withId(String id)
The ID of the property.
id
- The ID of the property.public void setName(String name)
The name of the property.
name
- The name of the property.public String getName()
The name of the property.
public AssetModelPropertySummary withName(String name)
The name of the property.
name
- The name of the property.public void setDataType(String dataType)
The data type of the property.
dataType
- The data type of the property.PropertyDataType
public String getDataType()
The data type of the property.
PropertyDataType
public AssetModelPropertySummary withDataType(String dataType)
The data type of the property.
dataType
- The data type of the property.PropertyDataType
public AssetModelPropertySummary withDataType(PropertyDataType dataType)
The data type of the property.
dataType
- The data type of the property.PropertyDataType
public 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 AssetModelPropertySummary 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 (such as Newtons
or RPM
) of the property.
unit
- The unit (such as Newtons
or RPM
) of the property.public String getUnit()
The unit (such as Newtons
or RPM
) of the property.
Newtons
or RPM
) of the property.public AssetModelPropertySummary withUnit(String unit)
The unit (such as Newtons
or RPM
) of the property.
unit
- The unit (such as Newtons
or RPM
) of the property.public void setType(PropertyType type)
type
- public PropertyType getType()
public AssetModelPropertySummary withType(PropertyType type)
type
- public void setAssetModelCompositeModelId(String assetModelCompositeModelId)
The ID of the composite model that contains the asset model property.
assetModelCompositeModelId
- The ID of the composite model that contains the asset model property.public String getAssetModelCompositeModelId()
The ID of the composite model that contains the asset model property.
public AssetModelPropertySummary withAssetModelCompositeModelId(String assetModelCompositeModelId)
The ID of the composite model that contains the asset model property.
assetModelCompositeModelId
- The ID of the composite model that contains the asset model property.public List<AssetModelPropertyPathSegment> getPath()
The structured path to the property from the root of the asset model.
public void setPath(Collection<AssetModelPropertyPathSegment> path)
The structured path to the property from the root of the asset model.
path
- The structured path to the property from the root of the asset model.public AssetModelPropertySummary withPath(AssetModelPropertyPathSegment... path)
The structured path to the property from the root of the asset model.
NOTE: This method appends the values to the existing list (if any). Use
setPath(java.util.Collection)
or withPath(java.util.Collection)
if you want to override the
existing values.
path
- The structured path to the property from the root of the asset model.public AssetModelPropertySummary withPath(Collection<AssetModelPropertyPathSegment> path)
The structured path to the property from the root of the asset model.
path
- The structured path to the property from the root of the asset model.public void setExternalId(String externalId)
The external ID of the property. For more information, see Using external IDs in the IoT SiteWise User Guide.
externalId
- The external ID of the property. For more information, see Using
external IDs in the IoT SiteWise User Guide.public String getExternalId()
The external ID of the property. For more information, see Using external IDs in the IoT SiteWise User Guide.
public AssetModelPropertySummary withExternalId(String externalId)
The external ID of the property. For more information, see Using external IDs in the IoT SiteWise User Guide.
externalId
- The external ID of the property. For more information, see Using
external IDs in the IoT SiteWise User Guide.public String toString()
toString
in class Object
Object.toString()
public AssetModelPropertySummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.