Class NetworkSegment
java.lang.Object
org.jclouds.openstack.neutron.v2.domain.NetworkSegment
A Neutron Network Segment
Segments and provider values cannot both be set.
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final NetworkTypeprotected final Stringprotected final Integer -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedNetworkSegment(NetworkType networkType, String physicalNetwork, Integer segmentationId) -
Method Summary
Modifier and TypeMethodDescriptionstatic NetworkSegment.Builderbuilder()booleaninthashCode()protected com.google.common.base.MoreObjects.ToStringHelperstring()Gets a Builder configured as this object.toString()
-
Field Details
-
networkType
-
physicalNetwork
-
segmentationId
-
-
Constructor Details
-
NetworkSegment
@ConstructorProperties({"provider:network_type","provider:physical_network","provider:segmentation_id"}) protected NetworkSegment(NetworkType networkType, String physicalNetwork, Integer segmentationId)
-
-
Method Details
-
getNetworkType
- Returns:
- the networkType of the NetworkSegment
-
getPhysicalNetwork
- Returns:
- the physicalNetwork of the NetworkSegment
-
getSegmentationId
- Returns:
- the segmentationId of the NetworkSegment
-
hashCode
public int hashCode() -
equals
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string() -
toString
-
builder
- Returns:
- the Builder for NetworkSegment
-
toBuilder
Gets a Builder configured as this object.
-