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.BuilderRequired - The name of the blob.final BlobDetails.Builderoverwritten(boolean value) Required - Indicates whether the blob was overwritten while the read operations were ongoing.final BlobDetails.BuilderreadEarly(boolean value) Required - API name:read_earlyfinal BlobDetails.BuilderreadEnd(long value) Required - The position, in bytes, at which read operations completed.final BlobDetails.Builderreads(ReadBlobDetails value) Required - A description of every read operation performed on the blob.final BlobDetails.BuilderRequired - A description of every read operation performed on the blob.final BlobDetails.BuilderreadStart(long value) Required - The position, in bytes, at which read operations started.protected BlobDetails.Builderself()final BlobDetails.BuilderRequired - The size of the blob.final BlobDetails.BuildersizeBytes(long value) Required - The size of the blob in bytes.Methods 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
-
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:
selfin classWithJsonObjectBuilderBase<BlobDetails.Builder>
-
build
Builds aBlobDetails.- Specified by:
buildin interfaceObjectBuilder<BlobDetails>- Throws:
NullPointerException- if some of the required fields are null.
-