public abstract static class CreatePortOptions.Builder<T extends CreatePortOptions.Builder<T>> extends Object
Modifier and Type | Field and Description |
---|---|
protected Boolean |
adminStateUp |
protected String |
deviceId |
protected String |
deviceOwner |
protected Set<IP> |
fixedIps |
protected String |
macAddress |
protected String |
name |
Constructor and Description |
---|
CreatePortOptions.Builder() |
Modifier and Type | Method and Description |
---|---|
T |
adminStateUp(Boolean adminStateUp) |
CreatePortOptions |
build() |
T |
deviceId(String deviceId) |
T |
deviceOwner(String deviceOwner) |
T |
fixedIps(Set<IP> fixedIps) |
T |
fromCreatePortOptions(CreatePortOptions options) |
T |
macAddress(String macAddress) |
T |
name(String name) |
protected abstract T |
self() |
protected String name
protected String deviceId
protected String deviceOwner
protected String macAddress
protected Boolean adminStateUp
protected abstract T self()
public T name(String name)
CreatePortOptions.getName()
public T deviceId(String deviceId)
CreatePortOptions.getDeviceId()
public T deviceOwner(String deviceOwner)
CreatePortOptions.getDeviceOwner()
public T macAddress(String macAddress)
CreatePortOptions.getMacAddress()
public T fixedIps(Set<IP> fixedIps)
CreatePortOptions.getFixedIps()
public T adminStateUp(Boolean adminStateUp)
CreatePortOptions.getAdminStateUp()
public CreatePortOptions build()
public T fromCreatePortOptions(CreatePortOptions options)
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.