public void setShares(java.util.Collection<ShareDetails> shares) {
        if (shares == null) {
            this.shares = null;
            return;
        }

        this.shares = new java.util.ArrayList<ShareDetails>(shares);
    }
<p>
The shares available and their metadata details.
</p>

@param shares
       The shares available and their metadata details.
aws-java-sdk-omics/src/main/java/com/amazonaws/services/omics/model/ListSharesResult.java