public void setError(String error) {
        this.error = error;
    }
<p>
Error in data replication.
</p>

@param error
       Error in data replication.
@see DataReplicationErrorString
aws-java-sdk-drs/src/main/java/com/amazonaws/services/drs/model/DataReplicationError.java