public CreateClusterRequest withLongTermPricingIds(String... longTermPricingIds) {
        if (this.longTermPricingIds == null) {
            setLongTermPricingIds(new java.util.ArrayList<String>(longTermPricingIds.length));
        }
        for (String ele : longTermPricingIds) {
            this.longTermPricingIds.add(ele);
        }
        return this;
    }
<p>
Lists long-term pricing id that will be used to associate with jobs automatically created for the new cluster.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setLongTermPricingIds(java.util.Collection)} or {@link #withLongTermPricingIds(java.util.Collection)} if
you want to override the existing values.
</p>

@param longTermPricingIds
       Lists long-term pricing id that will be used to associate with jobs automatically created for the new
       cluster.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-snowball/src/main/java/com/amazonaws/services/snowball/model/CreateClusterRequest.java