Class RepositoriesRecord.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch.cat.repositories.RepositoriesRecord.Builder
-
- All Implemented Interfaces:
ObjectBuilder<RepositoriesRecord>
- Enclosing class:
- RepositoriesRecord
public static class RepositoriesRecord.Builder extends ObjectBuilderBase implements ObjectBuilder<RepositoriesRecord>
Builder forRepositoriesRecord
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RepositoriesRecord
build()
Builds aRepositoriesRecord
.RepositoriesRecord.Builder
id(java.lang.String value)
unique repository idRepositoriesRecord.Builder
type(java.lang.String value)
repository type-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAdd, _listAddAll, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
id
public final RepositoriesRecord.Builder id(@Nullable java.lang.String value)
unique repository idAPI name:
id
-
type
public final RepositoriesRecord.Builder type(@Nullable java.lang.String value)
repository typeAPI name:
type
-
build
public RepositoriesRecord build()
Builds aRepositoriesRecord
.- Specified by:
build
in interfaceObjectBuilder<RepositoriesRecord>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-
-