public ApplyMapping withMapping(Mapping... mapping) {
        if (this.mapping == null) {
            setMapping(new java.util.ArrayList<Mapping>(mapping.length));
        }
        for (Mapping ele : mapping) {
            this.mapping.add(ele);
        }
        return this;
    }
<p>
Specifies the mapping of data property keys in the data source to data property keys in the data target.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setMapping(java.util.Collection)} or {@link #withMapping(java.util.Collection)} if you want to override
the existing values.
</p>

@param mapping
       Specifies the mapping of data property keys in the data source to data property keys in the data target.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-glue/src/main/java/com/amazonaws/services/glue/model/ApplyMapping.java