public void setSharedSegments(java.util.Collection<String> sharedSegments) {
        if (sharedSegments == null) {
            this.sharedSegments = null;
            return;
        }

        this.sharedSegments = new java.util.ArrayList<String>(sharedSegments);
    }
<p>
The shared segments for a core network change value.
</p>

@param sharedSegments
       The shared segments for a core network change value.
aws-java-sdk-networkmanager/src/main/java/com/amazonaws/services/networkmanager/model/CoreNetworkChangeValues.java