public LabelParameterVersionResult withInvalidLabels(String... invalidLabels) {
        if (this.invalidLabels == null) {
            setInvalidLabels(new com.amazonaws.internal.SdkInternalList<String>(invalidLabels.length));
        }
        for (String ele : invalidLabels) {
            this.invalidLabels.add(ele);
        }
        return this;
    }
<p>
The label doesn't meet the requirements. For information about parameter label requirements, see <a
href="https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-paramstore-labels.html">Working with
parameter labels</a> in the <i>Amazon Web Services Systems Manager User Guide</i>.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setInvalidLabels(java.util.Collection)} or {@link #withInvalidLabels(java.util.Collection)} if you want
to override the existing values.
</p>

@param invalidLabels
       The label doesn't meet the requirements. For information about parameter label requirements, see <a
       href="https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-paramstore-labels.html">Working
       with parameter labels</a> in the <i>Amazon Web Services Systems Manager User Guide</i>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ssm/src/main/java/com/amazonaws/services/simplesystemsmanagement/model/LabelParameterVersionResult.java