primary
Required - API name:
primaryObjectBuilder<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, _mapPutAllclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnodeprimarystateShardSegmentRouting.build in interface ObjectBuilder<ShardSegmentRouting>java.lang.NullPointerException - if some of the required fields are null.