public FpgaInfo withFpgas(FpgaDeviceInfo... fpgas) {
        if (this.fpgas == null) {
            setFpgas(new com.amazonaws.internal.SdkInternalList<FpgaDeviceInfo>(fpgas.length));
        }
        for (FpgaDeviceInfo ele : fpgas) {
            this.fpgas.add(ele);
        }
        return this;
    }
<p>
Describes the FPGAs for the instance type.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setFpgas(java.util.Collection)} or {@link #withFpgas(java.util.Collection)} if you want to override the
existing values.
</p>

@param fpgas
       Describes the FPGAs for the instance type.
@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/FpgaInfo.java