Class NetworkSegment


  • public class NetworkSegment
    extends Object
    A Neutron Network Segment Segments and provider values cannot both be set.
    See Also:
    api doc
    • Field Detail

      • networkType

        @Named("provider:network_type")
        protected final NetworkType networkType
      • physicalNetwork

        @Named("provider:physical_network")
        protected final String physicalNetwork
      • segmentationId

        @Named("provider:segmentation_id")
        protected final Integer segmentationId
    • Constructor Detail

    • Method Detail

      • getNetworkType

        @Nullable
        public NetworkType getNetworkType()
        Returns:
        the networkType of the NetworkSegment
      • getPhysicalNetwork

        @Nullable
        public String getPhysicalNetwork()
        Returns:
        the physicalNetwork of the NetworkSegment
      • getSegmentationId

        @Nullable
        public Integer getSegmentationId()
        Returns:
        the segmentationId of the NetworkSegment
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • string

        protected com.google.common.base.MoreObjects.ToStringHelper string()