public AddonVersionInfo withArchitecture(String... architecture) {
        if (this.architecture == null) {
            setArchitecture(new java.util.ArrayList<String>(architecture.length));
        }
        for (String ele : architecture) {
            this.architecture.add(ele);
        }
        return this;
    }
<p>
The architectures that the version supports.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setArchitecture(java.util.Collection)} or {@link #withArchitecture(java.util.Collection)} if you want to
override the existing values.
</p>

@param architecture
       The architectures that the version supports.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-eks/src/main/java/com/amazonaws/services/eks/model/AddonVersionInfo.java