Class NetworkSegment
- java.lang.Object
-
- org.jclouds.openstack.neutron.v2.domain.NetworkSegment
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNetworkSegment.Builder
-
Field Summary
Fields Modifier and Type Field Description protected NetworkTypenetworkTypeprotected StringphysicalNetworkprotected IntegersegmentationId
-
Constructor Summary
Constructors Modifier Constructor Description protectedNetworkSegment(NetworkType networkType, String physicalNetwork, Integer segmentationId)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NetworkSegment.Builderbuilder()booleanequals(Object obj)NetworkTypegetNetworkType()StringgetPhysicalNetwork()IntegergetSegmentationId()inthashCode()protected com.google.common.base.MoreObjects.ToStringHelperstring()NetworkSegment.BuildertoBuilder()Gets a Builder configured as this object.StringtoString()
-
-
-
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
-
NetworkSegment
@ConstructorProperties({"provider:network_type","provider:physical_network","provider:segmentation_id"}) protected NetworkSegment(NetworkType networkType, String physicalNetwork, Integer segmentationId)
-
-
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
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string()
-
builder
public static NetworkSegment.Builder builder()
- Returns:
- the Builder for NetworkSegment
-
toBuilder
public NetworkSegment.Builder toBuilder()
Gets a Builder configured as this object.
-
-