public class BlockdevOptionsBase extends QApiType
QApiTypeDescriptor{name=BlockdevOptionsBase, data={driver=BlockdevDriver, *id=str, *node-name=str, *discard=BlockdevDiscardOptions, *cache=BlockdevCacheOptions, *aio=BlockdevAioOptions, *rerror=BlockdevOnError, *werror=BlockdevOnError, *read-only=bool, *stats-account-invalid=bool, *stats-account-failed=bool, *stats-intervals=[int], *detect-zeroes=BlockdevDetectZeroesOptions}, innerTypes=null}
Modifier and Type | Field and Description |
---|---|
BlockdevAioOptions |
aio |
BlockdevCacheOptions |
cache |
BlockdevDetectZeroesOptions |
detectZeroes |
BlockdevDiscardOptions |
discard |
BlockdevDriver |
driver |
String |
id |
String |
nodeName |
Boolean |
readOnly |
BlockdevOnError |
rerror |
Boolean |
statsAccountFailed |
Boolean |
statsAccountInvalid |
List<Long> |
statsIntervals |
BlockdevOnError |
werror |
Constructor and Description |
---|
BlockdevOptionsBase() |
BlockdevOptionsBase(BlockdevDriver driver,
String id,
String nodeName,
BlockdevDiscardOptions discard,
BlockdevCacheOptions cache,
BlockdevAioOptions aio,
BlockdevOnError rerror,
BlockdevOnError werror,
Boolean readOnly,
Boolean statsAccountInvalid,
Boolean statsAccountFailed,
List<Long> statsIntervals,
BlockdevDetectZeroesOptions detectZeroes) |
Modifier and Type | Method and Description |
---|---|
Object |
getFieldByName(String name) |
List<String> |
getFieldNames() |
BlockdevOptionsBase |
withAio(BlockdevAioOptions value) |
BlockdevOptionsBase |
withCache(BlockdevCacheOptions value) |
BlockdevOptionsBase |
withDetectZeroes(BlockdevDetectZeroesOptions value) |
BlockdevOptionsBase |
withDiscard(BlockdevDiscardOptions value) |
BlockdevOptionsBase |
withDriver(BlockdevDriver value) |
BlockdevOptionsBase |
withId(String value) |
BlockdevOptionsBase |
withNodeName(String value) |
BlockdevOptionsBase |
withReadOnly(Boolean value) |
BlockdevOptionsBase |
withRerror(BlockdevOnError value) |
BlockdevOptionsBase |
withStatsAccountFailed(Boolean value) |
BlockdevOptionsBase |
withStatsAccountInvalid(Boolean value) |
BlockdevOptionsBase |
withStatsIntervals(List<Long> value) |
BlockdevOptionsBase |
withWerror(BlockdevOnError value) |
toString
@Nonnull public BlockdevDriver driver
@CheckForNull public String id
@CheckForNull public String nodeName
@CheckForNull public BlockdevDiscardOptions discard
@CheckForNull public BlockdevCacheOptions cache
@CheckForNull public BlockdevAioOptions aio
@CheckForNull public BlockdevOnError rerror
@CheckForNull public BlockdevOnError werror
@CheckForNull public Boolean readOnly
@CheckForNull public Boolean statsAccountInvalid
@CheckForNull public Boolean statsAccountFailed
@CheckForNull public List<Long> statsIntervals
@CheckForNull public BlockdevDetectZeroesOptions detectZeroes
public BlockdevOptionsBase()
public BlockdevOptionsBase(BlockdevDriver driver, String id, String nodeName, BlockdevDiscardOptions discard, BlockdevCacheOptions cache, BlockdevAioOptions aio, BlockdevOnError rerror, BlockdevOnError werror, Boolean readOnly, Boolean statsAccountInvalid, Boolean statsAccountFailed, List<Long> statsIntervals, BlockdevDetectZeroesOptions detectZeroes)
@Nonnull public BlockdevOptionsBase withDriver(BlockdevDriver value)
@Nonnull public BlockdevOptionsBase withId(String value)
@Nonnull public BlockdevOptionsBase withNodeName(String value)
@Nonnull public BlockdevOptionsBase withDiscard(BlockdevDiscardOptions value)
@Nonnull public BlockdevOptionsBase withCache(BlockdevCacheOptions value)
@Nonnull public BlockdevOptionsBase withAio(BlockdevAioOptions value)
@Nonnull public BlockdevOptionsBase withRerror(BlockdevOnError value)
@Nonnull public BlockdevOptionsBase withWerror(BlockdevOnError value)
@Nonnull public BlockdevOptionsBase withReadOnly(Boolean value)
@Nonnull public BlockdevOptionsBase withStatsAccountInvalid(Boolean value)
@Nonnull public BlockdevOptionsBase withStatsAccountFailed(Boolean value)
@Nonnull public BlockdevOptionsBase withStatsIntervals(List<Long> value)
@Nonnull public BlockdevOptionsBase withDetectZeroes(BlockdevDetectZeroesOptions value)
public List<String> getFieldNames()
getFieldNames
in class QApiType
public Object getFieldByName(@Nonnull String name) throws NoSuchFieldException
getFieldByName
in class QApiType
NoSuchFieldException