public class Network extends ReferenceWithName
Modifier and Type | Class and Description |
---|---|
static class |
Network.Builder<T extends Network.Builder<T>> |
Modifier | Constructor and Description |
---|---|
protected |
Network(String id,
String tenantId,
String name,
State state,
Set<String> subnets,
Boolean adminStateUp,
Boolean shared,
Boolean external,
String networkType,
String physicalNetworkName,
Integer segmentationId) |
Modifier and Type | Method and Description |
---|---|
static Network.Builder<?> |
builder() |
boolean |
equals(Object obj) |
Boolean |
getAdminStateUp() |
Boolean |
getExternal() |
NetworkType |
getNetworkType() |
String |
getPhysicalNetworkName() |
Integer |
getSegmentationId() |
Boolean |
getShared() |
State |
getState() |
Set<String> |
getSubnets() |
int |
hashCode() |
protected com.google.common.base.Objects.ToStringHelper |
string() |
Network.Builder<?> |
toBuilder() |
String |
toString() |
getName
getId, getTenantId
@ConstructorProperties(value={"id","tenant_id","name","status","subnets","admin_state_up","shared","router:external","provider:network_type","provider:physical_network","provider:segmentation_id"}) protected Network(String id, String tenantId, String name, State state, Set<String> subnets, Boolean adminStateUp, Boolean shared, Boolean external, String networkType, String physicalNetworkName, Integer segmentationId)
public State getState()
public Set<String> getSubnets()
public Boolean getAdminStateUp()
public Boolean getShared()
public Boolean getExternal()
public NetworkType getNetworkType()
public String getPhysicalNetworkName()
public Integer getSegmentationId()
public int hashCode()
hashCode
in class ReferenceWithName
public boolean equals(Object obj)
equals
in class ReferenceWithName
protected com.google.common.base.Objects.ToStringHelper string()
string
in class ReferenceWithName
public String toString()
toString
in class ReferenceWithName
public static Network.Builder<?> builder()
public Network.Builder<?> toBuilder()
toBuilder
in class ReferenceWithName
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.