public class BlockdevOptionsBlkdebug extends QApiType
QApiTypeDescriptor{name=BlockdevOptionsBlkdebug, data={image=BlockdevRef, *config=str, *align=int, *inject-error=[BlkdebugInjectErrorOptions], *set-state=[BlkdebugSetStateOptions]}, innerTypes=null}
Modifier and Type | Field and Description |
---|---|
Long |
align |
String |
config |
BlockdevRef |
image |
List<BlkdebugInjectErrorOptions> |
injectError |
List<BlkdebugSetStateOptions> |
setState |
Constructor and Description |
---|
BlockdevOptionsBlkdebug() |
BlockdevOptionsBlkdebug(BlockdevRef image,
String config,
Long align,
List<BlkdebugInjectErrorOptions> injectError,
List<BlkdebugSetStateOptions> setState) |
Modifier and Type | Method and Description |
---|---|
Object |
getFieldByName(String name) |
List<String> |
getFieldNames() |
BlockdevOptionsBlkdebug |
withAlign(Long value) |
BlockdevOptionsBlkdebug |
withConfig(String value) |
BlockdevOptionsBlkdebug |
withImage(BlockdevRef value) |
BlockdevOptionsBlkdebug |
withInjectError(List<BlkdebugInjectErrorOptions> value) |
BlockdevOptionsBlkdebug |
withSetState(List<BlkdebugSetStateOptions> value) |
toString
@Nonnull public BlockdevRef image
@CheckForNull public String config
@CheckForNull public Long align
@CheckForNull public List<BlkdebugInjectErrorOptions> injectError
@CheckForNull public List<BlkdebugSetStateOptions> setState
public BlockdevOptionsBlkdebug()
public BlockdevOptionsBlkdebug(BlockdevRef image, String config, Long align, List<BlkdebugInjectErrorOptions> injectError, List<BlkdebugSetStateOptions> setState)
@Nonnull public BlockdevOptionsBlkdebug withImage(BlockdevRef value)
@Nonnull public BlockdevOptionsBlkdebug withConfig(String value)
@Nonnull public BlockdevOptionsBlkdebug withAlign(Long value)
@Nonnull public BlockdevOptionsBlkdebug withInjectError(List<BlkdebugInjectErrorOptions> value)
@Nonnull public BlockdevOptionsBlkdebug withSetState(List<BlkdebugSetStateOptions> value)
public List<String> getFieldNames()
getFieldNames
in class QApiType
public Object getFieldByName(@Nonnull String name) throws NoSuchFieldException
getFieldByName
in class QApiType
NoSuchFieldException