@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 |
getId()
The ID of the property.
|
String |
getName()
The name of the property.
|
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 |
setId(String id)
The ID of the property.
|
void |
setName(String name)
The name of the property.
|
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 |
withId(String id)
The ID of the property.
|
AssetModelPropertySummary |
withName(String name)
The name of the property.
|
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 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.