public void setSegments(ServiceInsertionSegments segments) {
        this.segments = segments;
    }
<p>
The segments associated with the network function group.
</p>

@param segments
       The segments associated with the network function group.
aws-java-sdk-networkmanager/src/main/java/com/amazonaws/services/networkmanager/model/CoreNetworkNetworkFunctionGroup.java