@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Attribute extends Object implements Serializable, Cloneable, StructuredPojo
Contains an asset attribute property. For more information, see Attributes in the IoT SiteWise User Guide.
| Constructor and Description |
|---|
Attribute() |
| Modifier and Type | Method and Description |
|---|---|
Attribute |
clone() |
boolean |
equals(Object obj) |
String |
getDefaultValue()
The default value of the asset model property attribute.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setDefaultValue(String defaultValue)
The default value of the asset model property attribute.
|
String |
toString()
Returns a string representation of this object.
|
Attribute |
withDefaultValue(String defaultValue)
The default value of the asset model property attribute.
|
public void setDefaultValue(String defaultValue)
The default value of the asset model property attribute. All assets that you create from the asset model contain this attribute value. You can update an attribute's value after you create an asset. For more information, see Updating attribute values in the IoT SiteWise User Guide.
defaultValue - The default value of the asset model property attribute. All assets that you create from the asset model
contain this attribute value. You can update an attribute's value after you create an asset. For more
information, see Updating
attribute values in the IoT SiteWise User Guide.public String getDefaultValue()
The default value of the asset model property attribute. All assets that you create from the asset model contain this attribute value. You can update an attribute's value after you create an asset. For more information, see Updating attribute values in the IoT SiteWise User Guide.
public Attribute withDefaultValue(String defaultValue)
The default value of the asset model property attribute. All assets that you create from the asset model contain this attribute value. You can update an attribute's value after you create an asset. For more information, see Updating attribute values in the IoT SiteWise User Guide.
defaultValue - The default value of the asset model property attribute. All assets that you create from the asset model
contain this attribute value. You can update an attribute's value after you create an asset. For more
information, see Updating
attribute values in the IoT SiteWise User Guide.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.