public VariableValue withPropertyPath(AssetModelPropertyPathSegment... propertyPath) {
        if (this.propertyPath == null) {
            setPropertyPath(new java.util.ArrayList<AssetModelPropertyPathSegment>(propertyPath.length));
        }
        for (AssetModelPropertyPathSegment ele : propertyPath) {
            this.propertyPath.add(ele);
        }
        return this;
    }
<p>
The path of the property.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setPropertyPath(java.util.Collection)} or {@link #withPropertyPath(java.util.Collection)} if you want to
override the existing values.
</p>

@param propertyPath
       The path of the property.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iotsitewise/src/main/java/com/amazonaws/services/iotsitewise/model/VariableValue.java