primary
Required - API name:
primary
WithJson<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, _mapPutAll
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
node
primary
state
self
in class WithJsonObjectBuilderBase<ShardSegmentRouting.Builder>
ShardSegmentRouting
.build
in interface ObjectBuilder<ShardSegmentRouting>
java.lang.NullPointerException
- if some of the required fields are null.