public DescribeLakeFormationIdentityCenterConfigurationResult withShareRecipients(DataLakePrincipal... shareRecipients) {
        if (this.shareRecipients == null) {
            setShareRecipients(new java.util.ArrayList<DataLakePrincipal>(shareRecipients.length));
        }
        for (DataLakePrincipal ele : shareRecipients) {
            this.shareRecipients.add(ele);
        }
        return this;
    }
<p>
A list of Amazon Web Services account IDs or Amazon Web Services organization/organizational unit ARNs that are
allowed to access data managed by Lake Formation.
</p>
<p>
If the <code>ShareRecipients</code> list includes valid values, a resource share is created with the principals
you want to have access to the resources as the <code>ShareRecipients</code>.
</p>
<p>
If the <code>ShareRecipients</code> value is null or the list is empty, no resource share is created.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setShareRecipients(java.util.Collection)} or {@link #withShareRecipients(java.util.Collection)} if you
want to override the existing values.
</p>

@param shareRecipients
       A list of Amazon Web Services account IDs or Amazon Web Services organization/organizational unit ARNs
       that are allowed to access data managed by Lake Formation. </p>
       <p>
       If the <code>ShareRecipients</code> list includes valid values, a resource share is created with the
       principals you want to have access to the resources as the <code>ShareRecipients</code>.
       </p>
       <p>
       If the <code>ShareRecipients</code> value is null or the list is empty, no resource share is created.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lakeformation/src/main/java/com/amazonaws/services/lakeformation/model/DescribeLakeFormationIdentityCenterConfigurationResult.java