Class NetworkSegment

java.lang.Object
org.jclouds.openstack.neutron.v2.domain.NetworkSegment

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

    • 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 Details

  • Method Details

    • 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
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • string

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

      public String toString()
      Overrides:
      toString in class Object
    • builder

      public static NetworkSegment.Builder builder()
      Returns:
      the Builder for NetworkSegment
    • toBuilder

      public NetworkSegment.Builder toBuilder()
      Gets a Builder configured as this object.