Modifier and Type | Class and Description |
---|---|
static class |
CreatePortOptions.Builder<T extends CreatePortOptions.Builder<T>> |
protected static class |
CreatePortOptions.CreatePortRequest |
Modifier | Constructor and Description |
---|---|
protected |
CreatePortOptions() |
|
CreatePortOptions(String name,
String deviceId,
String deviceOwner,
String macAddress,
Set<IP> fixedIps,
Boolean adminStateUp) |
Modifier and Type | Method and Description |
---|---|
<R extends HttpRequest> |
bindToRequest(R request,
Map<String,Object> postParams)
creates and binds the POST payload to the request using parameters specified.
|
<R extends HttpRequest> |
bindToRequest(R request,
Object input) |
static CreatePortOptions.Builder<?> |
builder() |
Boolean |
getAdminStateUp() |
String |
getDeviceId() |
String |
getDeviceOwner() |
Set<IP> |
getFixedIps() |
String |
getMacAddress() |
String |
getName() |
CreatePortOptions.Builder<?> |
toBuilder() |
public static CreatePortOptions.Builder<?> builder()
public CreatePortOptions.Builder<?> toBuilder()
public String getName()
public String getDeviceId()
public String getDeviceOwner()
public String getMacAddress()
public Boolean getAdminStateUp()
public <R extends HttpRequest> R bindToRequest(R request, Map<String,Object> postParams)
MapBinder
bindToRequest
in interface MapBinder
PayloadParam
public <R extends HttpRequest> R bindToRequest(R request, Object input)
bindToRequest
in interface Binder
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.