public void setResourceShares(java.util.Collection<ResourceShare> resourceShares) {
        if (resourceShares == null) {
            this.resourceShares = null;
            return;
        }

        this.resourceShares = new java.util.ArrayList<ResourceShare>(resourceShares);
    }
<p>
An array of objects that contain the information about the resource shares.
</p>

@param resourceShares
       An array of objects that contain the information about the resource shares.
aws-java-sdk-ram/src/main/java/com/amazonaws/services/ram/model/GetResourceSharesResult.java