public DescribePackageResult withWriteAccessPrincipalArns(String... writeAccessPrincipalArns) {
        if (this.writeAccessPrincipalArns == null) {
            setWriteAccessPrincipalArns(new java.util.ArrayList<String>(writeAccessPrincipalArns.length));
        }
        for (String ele : writeAccessPrincipalArns) {
            this.writeAccessPrincipalArns.add(ele);
        }
        return this;
    }
<p>
ARNs of accounts that have write access to the package.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setWriteAccessPrincipalArns(java.util.Collection)} or
{@link #withWriteAccessPrincipalArns(java.util.Collection)} if you want to override the existing values.
</p>

@param writeAccessPrincipalArns
       ARNs of accounts that have write access to the package.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-panorama/src/main/java/com/amazonaws/services/panorama/model/DescribePackageResult.java