Class ShardMigrationStatus.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch.shutdown.get_node.ShardMigrationStatus.Builder
-
- All Implemented Interfaces:
ObjectBuilder<ShardMigrationStatus>
- Enclosing class:
- ShardMigrationStatus
public static class ShardMigrationStatus.Builder extends ObjectBuilderBase implements ObjectBuilder<ShardMigrationStatus>
Builder forShardMigrationStatus
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ShardMigrationStatus
build()
Builds aShardMigrationStatus
.ShardMigrationStatus.Builder
status(ShutdownStatus value)
Required - API name:status
-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAdd, _listAddAll, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
status
public final ShardMigrationStatus.Builder status(ShutdownStatus value)
Required - API name:status
-
build
public ShardMigrationStatus build()
Builds aShardMigrationStatus
.- Specified by:
build
in interfaceObjectBuilder<ShardMigrationStatus>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-
-