public StandbyWorkspace withDataReplication(DataReplication dataReplication) {
        this.dataReplication = dataReplication.toString();
        return this;
    }
<p>
Indicates whether data replication is enabled, and if enabled, the type of data replication.
</p>

@param dataReplication
       Indicates whether data replication is enabled, and if enabled, the type of data replication.
@return Returns a reference to this object so that method calls can be chained together.
@see DataReplication
aws-java-sdk-workspaces/src/main/java/com/amazonaws/services/workspaces/model/StandbyWorkspace.java