public DescribeHapgResult withHsmsPendingDeletion(String... hsmsPendingDeletion) {
        if (this.hsmsPendingDeletion == null) {
            setHsmsPendingDeletion(new com.amazonaws.internal.SdkInternalList<String>(hsmsPendingDeletion.length));
        }
        for (String ele : hsmsPendingDeletion) {
            this.hsmsPendingDeletion.add(ele);
        }
        return this;
    }
<p/>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setHsmsPendingDeletion(java.util.Collection)} or {@link #withHsmsPendingDeletion(java.util.Collection)}
if you want to override the existing values.
</p>

@param hsmsPendingDeletion
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cloudhsm/src/main/java/com/amazonaws/services/cloudhsm/model/DescribeHapgResult.java