public ListRecoveryPointsByLegalHoldResult withRecoveryPoints(RecoveryPointMember... recoveryPoints) {
        if (this.recoveryPoints == null) {
            setRecoveryPoints(new java.util.ArrayList<RecoveryPointMember>(recoveryPoints.length));
        }
        for (RecoveryPointMember ele : recoveryPoints) {
            this.recoveryPoints.add(ele);
        }
        return this;
    }
<p>
This is a list of the recovery points returned by <code>ListRecoveryPointsByLegalHold</code>.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setRecoveryPoints(java.util.Collection)} or {@link #withRecoveryPoints(java.util.Collection)} if you want
to override the existing values.
</p>

@param recoveryPoints
       This is a list of the recovery points returned by <code>ListRecoveryPointsByLegalHold</code>.
@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/ListRecoveryPointsByLegalHoldResult.java