public void setError(ErrorDetails error) {
        this.error = error;
    }
<p>
Contains associated error information, if any.
</p>

@param error
       Contains associated error information, if any.
aws-java-sdk-iotsitewise/src/main/java/com/amazonaws/services/iotsitewise/model/AssetStatus.java