public class BlockdevCacheOptions extends QApiType
QApiTypeDescriptor{name=BlockdevCacheOptions, data={*writeback=bool, *direct=bool, *no-flush=bool}, innerTypes=null}
Modifier and Type | Field and Description |
---|---|
Boolean |
direct |
Boolean |
noFlush |
Boolean |
writeback |
Constructor and Description |
---|
BlockdevCacheOptions() |
BlockdevCacheOptions(Boolean writeback,
Boolean direct,
Boolean noFlush) |
Modifier and Type | Method and Description |
---|---|
Object |
getFieldByName(String name) |
List<String> |
getFieldNames() |
BlockdevCacheOptions |
withDirect(Boolean value) |
BlockdevCacheOptions |
withNoFlush(Boolean value) |
BlockdevCacheOptions |
withWriteback(Boolean value) |
toString
@CheckForNull public Boolean writeback
@CheckForNull public Boolean direct
@CheckForNull public Boolean noFlush
public BlockdevCacheOptions()
public BlockdevCacheOptions(Boolean writeback, Boolean direct, Boolean noFlush)
@Nonnull public BlockdevCacheOptions withWriteback(Boolean value)
@Nonnull public BlockdevCacheOptions withDirect(Boolean value)
@Nonnull public BlockdevCacheOptions withNoFlush(Boolean value)
public List<String> getFieldNames()
getFieldNames
in class QApiType
public Object getFieldByName(@Nonnull String name) throws NoSuchFieldException
getFieldByName
in class QApiType
NoSuchFieldException