public CoreNetworkChangeValues withSegmentName(String segmentName) {
        setSegmentName(segmentName);
        return this;
    }
<p>
The names of the segments in a core network.
</p>

@param segmentName
       The names of the segments in a core network.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-networkmanager/src/main/java/com/amazonaws/services/networkmanager/model/CoreNetworkChangeValues.java