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

@param hsmsLastActionFailed
@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