Class NetworkSegment
- java.lang.Object
-
- org.jclouds.openstack.neutron.v2.domain.NetworkSegment
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NetworkSegment.Builder
-
Field Summary
Fields Modifier and Type Field Description protected NetworkType
networkType
protected String
physicalNetwork
protected Integer
segmentationId
-
Constructor Summary
Constructors Modifier Constructor Description protected
NetworkSegment(NetworkType networkType, String physicalNetwork, Integer segmentationId)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NetworkSegment.Builder
builder()
boolean
equals(Object obj)
NetworkType
getNetworkType()
String
getPhysicalNetwork()
Integer
getSegmentationId()
int
hashCode()
protected com.google.common.base.MoreObjects.ToStringHelper
string()
NetworkSegment.Builder
toBuilder()
Gets a Builder configured as this object.String
toString()
-
-
-
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.
-
-