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.Builderself()final S3Repository.Buildersettings(S3RepositorySettings value) Required - The repository settings.final S3Repository.BuilderRequired - The repository settings.Methods inherited from class co.elastic.clients.elasticsearch.snapshot.RepositoryBase.AbstractBuilder
uuidMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods 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:
selfin classRepositoryBase.AbstractBuilder<S3Repository.Builder>
-
build
Builds aS3Repository.- Specified by:
buildin interfaceObjectBuilder<S3Repository>- Throws:
NullPointerException- if some of the required fields are null.
-