public ModifyImageAttributeRequest withOrganizationalUnitArns(String... organizationalUnitArns) {
        if (this.organizationalUnitArns == null) {
            setOrganizationalUnitArns(new com.amazonaws.internal.SdkInternalList<String>(organizationalUnitArns.length));
        }
        for (String ele : organizationalUnitArns) {
            this.organizationalUnitArns.add(ele);
        }
        return this;
    }
<p>
The Amazon Resource Name (ARN) of an organizational unit (OU). This parameter can be used only when the
<code>Attribute</code> parameter is <code>launchPermission</code>.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setOrganizationalUnitArns(java.util.Collection)} or
{@link #withOrganizationalUnitArns(java.util.Collection)} if you want to override the existing values.
</p>

@param organizationalUnitArns
       The Amazon Resource Name (ARN) of an organizational unit (OU). This parameter can be used only when the
       <code>Attribute</code> parameter is <code>launchPermission</code>.
@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/ModifyImageAttributeRequest.java