Class BlobDetails.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BlobDetails.Builder>
co.elastic.clients.elasticsearch.snapshot.repository_analyze.BlobDetails.Builder
- All Implemented Interfaces:
WithJson<BlobDetails.Builder>
,ObjectBuilder<BlobDetails>
- Enclosing class:
- BlobDetails
public static class BlobDetails.Builder
extends WithJsonObjectBuilderBase<BlobDetails.Builder>
implements ObjectBuilder<BlobDetails>
Builder for
BlobDetails
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aBlobDetails
.final BlobDetails.Builder
Required - The name of the blob.final BlobDetails.Builder
overwritten
(boolean value) Required - Indicates whether the blob was overwritten while the read operations were ongoing.final BlobDetails.Builder
readEarly
(boolean value) Required - API name:read_early
final BlobDetails.Builder
readEnd
(long value) Required - The position, in bytes, at which read operations completed.final BlobDetails.Builder
reads
(ReadBlobDetails value) Required - A description of every read operation performed on the blob.final BlobDetails.Builder
Required - A description of every read operation performed on the blob.final BlobDetails.Builder
readStart
(long value) Required - The position, in bytes, at which read operations started.protected BlobDetails.Builder
self()
final BlobDetails.Builder
Required - The size of the blob.final BlobDetails.Builder
sizeBytes
(long value) Required - The size of the blob in bytes.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
-
name
Required - The name of the blob.API name:
name
-
overwritten
Required - Indicates whether the blob was overwritten while the read operations were ongoing. /**API name:
overwritten
-
readEarly
Required - API name:read_early
-
readEnd
Required - The position, in bytes, at which read operations completed.API name:
read_end
-
readStart
Required - The position, in bytes, at which read operations started.API name:
read_start
-
reads
Required - A description of every read operation performed on the blob.API name:
reads
-
reads
public final BlobDetails.Builder reads(Function<ReadBlobDetails.Builder, ObjectBuilder<ReadBlobDetails>> fn) Required - A description of every read operation performed on the blob.API name:
reads
-
size
Required - The size of the blob.API name:
size
-
sizeBytes
Required - The size of the blob in bytes.API name:
size_bytes
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<BlobDetails.Builder>
-
build
Builds aBlobDetails
.- Specified by:
build
in interfaceObjectBuilder<BlobDetails>
- Throws:
NullPointerException
- if some of the required fields are null.
-