Modifier and Type | Class and Description |
---|---|
static class |
NetworkSegment.Builder |
Modifier and Type | Field and Description |
---|---|
protected NetworkType |
networkType |
protected String |
physicalNetwork |
protected Integer |
segmentationId |
Modifier | Constructor and Description |
---|---|
protected |
NetworkSegment(NetworkType networkType,
String physicalNetwork,
Integer segmentationId) |
Modifier and Type | Method and Description |
---|---|
static NetworkSegment.Builder |
builder() |
boolean |
equals(Object obj) |
NetworkType |
getNetworkType() |
String |
getPhysicalNetwork() |
Integer |
getSegmentationId() |
int |
hashCode() |
protected com.google.common.base.Objects.ToStringHelper |
string() |
NetworkSegment.Builder |
toBuilder()
Gets a Builder configured as this object.
|
String |
toString() |
@Named(value="provider:network_type") protected final NetworkType networkType
@Named(value="provider:physical_network") protected final String physicalNetwork
@Named(value="provider:segmentation_id") protected final Integer segmentationId
@ConstructorProperties(value={"provider:network_type","provider:physical_network","provider:segmentation_id"}) protected NetworkSegment(NetworkType networkType, String physicalNetwork, Integer segmentationId)
@Nullable public NetworkType getNetworkType()
@Nullable public String getPhysicalNetwork()
@Nullable public Integer getSegmentationId()
protected com.google.common.base.Objects.ToStringHelper string()
public static NetworkSegment.Builder builder()
public NetworkSegment.Builder toBuilder()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.