primary
Required - API name:
primary
ObjectBuilder<ShardSegmentRouting>
public static class ShardSegmentRouting.Builder extends ObjectBuilderBase 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 |
ShardSegmentRouting.Builder |
state(java.lang.String value) |
Required - API name:
state |
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
node
primary
state
ShardSegmentRouting
.build
in interface ObjectBuilder<ShardSegmentRouting>
java.lang.NullPointerException
- if some of the required fields are null.