@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssetModelStatus extends Object implements Serializable, Cloneable, StructuredPojo
Contains current status information for an asset model. For more information, see Asset and model states in the IoT SiteWise User Guide.
| Constructor and Description |
|---|
AssetModelStatus() |
| Modifier and Type | Method and Description |
|---|---|
AssetModelStatus |
clone() |
boolean |
equals(Object obj) |
ErrorDetails |
getError()
Contains associated error information, if any.
|
String |
getState()
The current state of the asset model.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setError(ErrorDetails error)
Contains associated error information, if any.
|
void |
setState(String state)
The current state of the asset model.
|
String |
toString()
Returns a string representation of this object.
|
AssetModelStatus |
withError(ErrorDetails error)
Contains associated error information, if any.
|
AssetModelStatus |
withState(AssetModelState state)
The current state of the asset model.
|
AssetModelStatus |
withState(String state)
The current state of the asset model.
|
public void setState(String state)
The current state of the asset model.
state - The current state of the asset model.AssetModelStatepublic String getState()
The current state of the asset model.
AssetModelStatepublic AssetModelStatus withState(String state)
The current state of the asset model.
state - The current state of the asset model.AssetModelStatepublic AssetModelStatus withState(AssetModelState state)
The current state of the asset model.
state - The current state of the asset model.AssetModelStatepublic void setError(ErrorDetails error)
Contains associated error information, if any.
error - Contains associated error information, if any.public ErrorDetails getError()
Contains associated error information, if any.
public AssetModelStatus withError(ErrorDetails error)
Contains associated error information, if any.
error - Contains associated error information, if any.public String toString()
toString in class ObjectObject.toString()public AssetModelStatus clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.