public class BlockdevOptionsQuorum extends QApiType
QApiTypeDescriptor{name=BlockdevOptionsQuorum, data={*blkverify=bool, children=[BlockdevRef], vote-threshold=int, *rewrite-corrupted=bool, *read-pattern=QuorumReadPattern}, innerTypes=null}
Modifier and Type | Field and Description |
---|---|
Boolean |
blkverify |
List<BlockdevRef> |
children |
QuorumReadPattern |
readPattern |
Boolean |
rewriteCorrupted |
long |
voteThreshold |
Constructor and Description |
---|
BlockdevOptionsQuorum() |
BlockdevOptionsQuorum(Boolean blkverify,
List<BlockdevRef> children,
long voteThreshold,
Boolean rewriteCorrupted,
QuorumReadPattern readPattern) |
Modifier and Type | Method and Description |
---|---|
Object |
getFieldByName(String name) |
List<String> |
getFieldNames() |
BlockdevOptionsQuorum |
withBlkverify(Boolean value) |
BlockdevOptionsQuorum |
withChildren(List<BlockdevRef> value) |
BlockdevOptionsQuorum |
withReadPattern(QuorumReadPattern value) |
BlockdevOptionsQuorum |
withRewriteCorrupted(Boolean value) |
BlockdevOptionsQuorum |
withVoteThreshold(long value) |
toString
@CheckForNull public Boolean blkverify
@Nonnull public List<BlockdevRef> children
@Nonnull public long voteThreshold
@CheckForNull public Boolean rewriteCorrupted
@CheckForNull public QuorumReadPattern readPattern
public BlockdevOptionsQuorum()
public BlockdevOptionsQuorum(Boolean blkverify, List<BlockdevRef> children, long voteThreshold, Boolean rewriteCorrupted, QuorumReadPattern readPattern)
@Nonnull public BlockdevOptionsQuorum withBlkverify(Boolean value)
@Nonnull public BlockdevOptionsQuorum withChildren(List<BlockdevRef> value)
@Nonnull public BlockdevOptionsQuorum withVoteThreshold(long value)
@Nonnull public BlockdevOptionsQuorum withRewriteCorrupted(Boolean value)
@Nonnull public BlockdevOptionsQuorum withReadPattern(QuorumReadPattern value)
public List<String> getFieldNames()
getFieldNames
in class QApiType
public Object getFieldByName(@Nonnull String name) throws NoSuchFieldException
getFieldByName
in class QApiType
NoSuchFieldException