public java.util.List<CoreNetworkSegment> getSegments() {
        return segments;
    }
<p>
The segments within a core network.
</p>

@return The segments within a core network.
aws-java-sdk-networkmanager/src/main/java/com/amazonaws/services/networkmanager/model/CoreNetwork.java