public DescribeLabelGroupResult withFaultCodes(String... faultCodes) {
        if (this.faultCodes == null) {
            setFaultCodes(new java.util.ArrayList<String>(faultCodes.length));
        }
        for (String ele : faultCodes) {
            this.faultCodes.add(ele);
        }
        return this;
    }
<p>
Codes indicating the type of anomaly associated with the labels in the lagbel group.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setFaultCodes(java.util.Collection)} or {@link #withFaultCodes(java.util.Collection)} if you want to
override the existing values.
</p>

@param faultCodes
       Codes indicating the type of anomaly associated with the labels in the lagbel group.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lookoutequipment/src/main/java/com/amazonaws/services/lookoutequipment/model/DescribeLabelGroupResult.java