Class RepositoryLocation.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.nodes.RepositoryLocation.Builder
- All Implemented Interfaces:
ObjectBuilder<RepositoryLocation>
- Enclosing class:
- RepositoryLocation
public static class RepositoryLocation.Builder extends ObjectBuilderBase implements ObjectBuilder<RepositoryLocation>
Builder for
RepositoryLocation.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description RepositoryLocation.BuilderbasePath(java.lang.String value)Required - API name:base_pathRepositoryLocation.Builderbucket(java.lang.String value)Bucket name (GCP, S3)RepositoryLocationbuild()Builds aRepositoryLocation.RepositoryLocation.Buildercontainer(java.lang.String value)Container name (Azure)Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
basePath
Required - API name:base_path -
container
Container name (Azure)API name:
container -
bucket
Bucket name (GCP, S3)API name:
bucket -
build
Builds aRepositoryLocation.- Specified by:
buildin interfaceObjectBuilder<RepositoryLocation>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-