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() |
getName
getId, 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 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 Port.Builder<?> builder()
public Port.Builder<?> toBuilder()
toBuilder
in class ReferenceWithName
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.