primary
Required - API name:
primaryWithJson<ShardSegmentRouting.Builder>, ObjectBuilder<ShardSegmentRouting>public static class ShardSegmentRouting.Builder extends WithJsonObjectBuilderBase<ShardSegmentRouting.Builder> implements ObjectBuilder<ShardSegmentRouting>
ShardSegmentRouting.| Constructor | Description |
|---|---|
Builder() |
| Modifier and Type | Method | Description |
|---|---|---|
ShardSegmentRouting |
build() |
Builds a
ShardSegmentRouting. |
ShardSegmentRouting.Builder |
node(java.lang.String value) |
Required - API name:
node |
ShardSegmentRouting.Builder |
primary(boolean value) |
Required - API name:
primary |
protected ShardSegmentRouting.Builder |
self() |
|
ShardSegmentRouting.Builder |
state(java.lang.String value) |
Required - API name:
state |
withJson_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnodeprimarystateself in class WithJsonObjectBuilderBase<ShardSegmentRouting.Builder>ShardSegmentRouting.build in interface ObjectBuilder<ShardSegmentRouting>java.lang.NullPointerException - if some of the required fields are null.