Class S3Repository.Builder
- All Implemented Interfaces:
WithJson<S3Repository.Builder>
,ObjectBuilder<S3Repository>
- Enclosing class:
- S3Repository
S3Repository
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aS3Repository
.protected S3Repository.Builder
self()
final S3Repository.Builder
settings
(S3RepositorySettings value) Required - The repository settings.final S3Repository.Builder
Required - The repository settings.Methods inherited from class co.elastic.clients.elasticsearch.snapshot.RepositoryBase.AbstractBuilder
uuid
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
settings
Required - The repository settings.NOTE: In addition to the specified settings, you can also use all non-secure client settings in the repository settings. In this case, the client settings found in the repository settings will be merged with those of the named client used by the repository. Conflicts between client and repository settings are resolved by the repository settings taking precedence over client settings.
API name:
settings
-
settings
public final S3Repository.Builder settings(Function<S3RepositorySettings.Builder, ObjectBuilder<S3RepositorySettings>> fn) Required - The repository settings.NOTE: In addition to the specified settings, you can also use all non-secure client settings in the repository settings. In this case, the client settings found in the repository settings will be merged with those of the named client used by the repository. Conflicts between client and repository settings are resolved by the repository settings taking precedence over client settings.
API name:
settings
-
self
- Specified by:
self
in classRepositoryBase.AbstractBuilder<S3Repository.Builder>
-
build
Builds aS3Repository
.- Specified by:
build
in interfaceObjectBuilder<S3Repository>
- Throws:
NullPointerException
- if some of the required fields are null.
-