public UpdateConfiguredAudienceModelRequest withSharedAudienceMetrics(SharedAudienceMetrics... sharedAudienceMetrics) {
        java.util.ArrayList<String> sharedAudienceMetricsCopy = new java.util.ArrayList<String>(sharedAudienceMetrics.length);
        for (SharedAudienceMetrics value : sharedAudienceMetrics) {
            sharedAudienceMetricsCopy.add(value.toString());
        }
        if (getSharedAudienceMetrics() == null) {
            setSharedAudienceMetrics(sharedAudienceMetricsCopy);
        } else {
            getSharedAudienceMetrics().addAll(sharedAudienceMetricsCopy);
        }
        return this;
    }
<p>
The new value for whether to share audience metrics.
</p>

@param sharedAudienceMetrics
       The new value for whether to share audience metrics.
@return Returns a reference to this object so that method calls can be chained together.
@see SharedAudienceMetrics
aws-java-sdk-cleanroomsml/src/main/java/com/amazonaws/services/cleanroomsml/model/UpdateConfiguredAudienceModelRequest.java