public ComponentPropertyGroupResponse withPropertyNames(String... propertyNames) {
        if (this.propertyNames == null) {
            setPropertyNames(new java.util.ArrayList<String>(propertyNames.length));
        }
        for (String ele : propertyNames) {
            this.propertyNames.add(ele);
        }
        return this;
    }
<p>
The names of properties
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setPropertyNames(java.util.Collection)} or {@link #withPropertyNames(java.util.Collection)} if you want
to override the existing values.
</p>

@param propertyNames
       The names of properties
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iottwinmaker/src/main/java/com/amazonaws/services/iottwinmaker/model/ComponentPropertyGroupResponse.java