public GetLegalHoldRequest withLegalHoldId(String legalHoldId) {
        setLegalHoldId(legalHoldId);
        return this;
    }
<p>
This is the ID required to use <code>GetLegalHold</code>. This unique ID is associated with a specific legal
hold.
</p>

@param legalHoldId
       This is the ID required to use <code>GetLegalHold</code>. This unique ID is associated with a specific
       legal hold.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-backup/src/main/java/com/amazonaws/services/backup/model/GetLegalHoldRequest.java