public class Port extends ReferenceWithName
| Modifier and Type | Class and Description |
|---|---|
static class |
Port.Builder<T extends Port.Builder<T>> |
| Modifier | Constructor and Description |
|---|---|
protected |
Port(String id,
String tenantId,
String name,
State state,
String networkId,
Boolean adminStateUp,
String deviceId,
String deviceOwner,
Set<IP> fixedIps,
String macAddress) |
| Modifier and Type | Method and Description |
|---|---|
static Port.Builder<?> |
builder() |
boolean |
equals(Object obj) |
Boolean |
getAdminStateUp() |
String |
getDeviceId() |
String |
getDeviceOwner() |
Set<IP> |
getFixedIps() |
String |
getMacAddress() |
String |
getNetworkId() |
State |
getState() |
int |
hashCode() |
protected com.google.common.base.Objects.ToStringHelper |
string() |
Port.Builder<?> |
toBuilder() |
String |
toString() |
getNamegetId, getTenantId@ConstructorProperties(value={"id","tenant_id","name","status","network_id","admin_state_up","device_id","device_owner","fixed_ips","mac_address"}) protected Port(String id, String tenantId, String name, State state, String networkId, Boolean adminStateUp, String deviceId, String deviceOwner, Set<IP> fixedIps, String macAddress)
public State getState()
public Boolean getAdminStateUp()
public String getNetworkId()
public String getDeviceId()
public String getDeviceOwner()
public String getMacAddress()
public int hashCode()
hashCode in class ReferenceWithNamepublic boolean equals(Object obj)
equals in class ReferenceWithNameprotected com.google.common.base.Objects.ToStringHelper string()
string in class ReferenceWithNamepublic String toString()
toString in class ReferenceWithNamepublic static Port.Builder<?> builder()
public Port.Builder<?> toBuilder()
toBuilder in class ReferenceWithNameCopyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.