public PathComponent withAdditionalDetails(AdditionalDetail... additionalDetails) {
        if (this.additionalDetails == null) {
            setAdditionalDetails(new com.amazonaws.internal.SdkInternalList<AdditionalDetail>(additionalDetails.length));
        }
        for (AdditionalDetail ele : additionalDetails) {
            this.additionalDetails.add(ele);
        }
        return this;
    }
<p>
The additional details.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setAdditionalDetails(java.util.Collection)} or {@link #withAdditionalDetails(java.util.Collection)} if
you want to override the existing values.
</p>

@param additionalDetails
       The additional details.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/PathComponent.java