public class NetdevTapOptions extends QApiType
QApiTypeDescriptor{name=NetdevTapOptions, data={*ifname=str, *fd=str, *fds=str, *script=str, *downscript=str, *helper=str, *sndbuf=size, *vnet_hdr=bool, *vhost=bool, *vhostfd=str, *vhostfds=str, *vhostforce=bool, *queues=uint32}, innerTypes=null}
Modifier and Type | Field and Description |
---|---|
String |
downscript |
String |
fd |
String |
fds |
String |
helper |
String |
ifname |
Long |
queues |
String |
script |
Long |
sndbuf |
Boolean |
vhost |
String |
vhostfd |
String |
vhostfds |
Boolean |
vhostforce |
Boolean |
vnetHdr |
Constructor and Description |
---|
NetdevTapOptions() |
NetdevTapOptions(String ifname,
String fd,
String fds,
String script,
String downscript,
String helper,
Long sndbuf,
Boolean vnetHdr,
Boolean vhost,
String vhostfd,
String vhostfds,
Boolean vhostforce,
Long queues) |
Modifier and Type | Method and Description |
---|---|
Object |
getFieldByName(String name) |
List<String> |
getFieldNames() |
NetdevTapOptions |
withDownscript(String value) |
NetdevTapOptions |
withFd(String value) |
NetdevTapOptions |
withFds(String value) |
NetdevTapOptions |
withHelper(String value) |
NetdevTapOptions |
withIfname(String value) |
NetdevTapOptions |
withQueues(Long value) |
NetdevTapOptions |
withScript(String value) |
NetdevTapOptions |
withSndbuf(Long value) |
NetdevTapOptions |
withVhost(Boolean value) |
NetdevTapOptions |
withVhostfd(String value) |
NetdevTapOptions |
withVhostfds(String value) |
NetdevTapOptions |
withVhostforce(Boolean value) |
NetdevTapOptions |
withVnetHdr(Boolean value) |
toString
@CheckForNull public String ifname
@CheckForNull public String fd
@CheckForNull public String fds
@CheckForNull public String script
@CheckForNull public String downscript
@CheckForNull public String helper
@CheckForNull public Long sndbuf
@CheckForNull public Boolean vnetHdr
@CheckForNull public Boolean vhost
@CheckForNull public String vhostfd
@CheckForNull public String vhostfds
@CheckForNull public Boolean vhostforce
@CheckForNull public Long queues
public NetdevTapOptions()
@Nonnull public NetdevTapOptions withIfname(String value)
@Nonnull public NetdevTapOptions withFd(String value)
@Nonnull public NetdevTapOptions withFds(String value)
@Nonnull public NetdevTapOptions withScript(String value)
@Nonnull public NetdevTapOptions withDownscript(String value)
@Nonnull public NetdevTapOptions withHelper(String value)
@Nonnull public NetdevTapOptions withSndbuf(Long value)
@Nonnull public NetdevTapOptions withVnetHdr(Boolean value)
@Nonnull public NetdevTapOptions withVhost(Boolean value)
@Nonnull public NetdevTapOptions withVhostfd(String value)
@Nonnull public NetdevTapOptions withVhostfds(String value)
@Nonnull public NetdevTapOptions withVhostforce(Boolean value)
@Nonnull public NetdevTapOptions withQueues(Long value)
public List<String> getFieldNames()
getFieldNames
in class QApiType
public Object getFieldByName(@Nonnull String name) throws NoSuchFieldException
getFieldByName
in class QApiType
NoSuchFieldException