Class RepositoryAnalyzeResponse.Builder
- All Implemented Interfaces:
WithJson<RepositoryAnalyzeResponse.Builder>,ObjectBuilder<RepositoryAnalyzeResponse>
- Enclosing class:
- RepositoryAnalyzeResponse
RepositoryAnalyzeResponse.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionblobCount(int value) Required - The number of blobs written to the repository during the test.Required - The path in the repository under which all the blobs were written during the test.build()Builds aRepositoryAnalyzeResponse.concurrency(int value) Required - The number of write operations performed concurrently during the test.coordinatingNode(SnapshotNodeInfo value) Required - The node that coordinated the analysis and performed the final cleanup.Required - The node that coordinated the analysis and performed the final cleanup.deleteElapsed(Time value) Required - The time it took to delete all the blobs in the container.Required - The time it took to delete all the blobs in the container.deleteElapsedNanos(long value) Required - The time it took to delete all the blobs in the container, in nanoseconds.details(DetailsInfo value) Required - A description of every read and write operation performed during the test.Required - A description of every read and write operation performed during the test.earlyReadNodeCount(int value) Required - The limit on the number of nodes on which early read operations were performed after writing each blob.issuesDetected(String value, String... values) Required - A list of correctness issues detected, which is empty if the API succeeded.issuesDetected(List<String> list) Required - A list of correctness issues detected, which is empty if the API succeeded.listingElapsed(Time value) Required - The time it took to retrieve a list of all the blobs in the container.Required - The time it took to retrieve a list of all the blobs in the container.listingElapsedNanos(long value) Required - The time it took to retrieve a list of all the blobs in the container, in nanoseconds.maxBlobSize(String value) Required - The limit on the size of a blob written during the test.maxBlobSizeBytes(long value) Required - The limit, in bytes, on the size of a blob written during the test.maxTotalDataSize(String value) Required - The limit on the total size of all blob written during the test.maxTotalDataSizeBytes(long value) Required - The limit, in bytes, on the total size of all blob written during the test.rareActionProbability(double value) Required - The probability of performing rare actions during the test.readNodeCount(int value) Required - The limit on the number of nodes on which read operations were performed after writing each blob.repository(String value) Required - The name of the repository that was the subject of the analysis.seed(long value) Required - The seed for the pseudo-random number generator used to generate the operations used during the test.protected RepositoryAnalyzeResponse.Builderself()summary(SummaryInfo value) Required - A collection of statistics that summarize the results of the test.Required - A collection of statistics that summarize the results of the test.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
-
blobCount
Required - The number of blobs written to the repository during the test.API name:
blob_count -
blobPath
Required - The path in the repository under which all the blobs were written during the test.API name:
blob_path -
concurrency
Required - The number of write operations performed concurrently during the test.API name:
concurrency -
coordinatingNode
Required - The node that coordinated the analysis and performed the final cleanup.API name:
coordinating_node -
coordinatingNode
public final RepositoryAnalyzeResponse.Builder coordinatingNode(Function<SnapshotNodeInfo.Builder, ObjectBuilder<SnapshotNodeInfo>> fn) Required - The node that coordinated the analysis and performed the final cleanup.API name:
coordinating_node -
deleteElapsed
Required - The time it took to delete all the blobs in the container.API name:
delete_elapsed -
deleteElapsed
public final RepositoryAnalyzeResponse.Builder deleteElapsed(Function<Time.Builder, ObjectBuilder<Time>> fn) Required - The time it took to delete all the blobs in the container.API name:
delete_elapsed -
deleteElapsedNanos
Required - The time it took to delete all the blobs in the container, in nanoseconds.API name:
delete_elapsed_nanos -
details
Required - A description of every read and write operation performed during the test.API name:
details -
details
public final RepositoryAnalyzeResponse.Builder details(Function<DetailsInfo.Builder, ObjectBuilder<DetailsInfo>> fn) Required - A description of every read and write operation performed during the test.API name:
details -
earlyReadNodeCount
Required - The limit on the number of nodes on which early read operations were performed after writing each blob.API name:
early_read_node_count -
issuesDetected
Required - A list of correctness issues detected, which is empty if the API succeeded. It is included to emphasize that a successful response does not guarantee correct behaviour in future.API name:
issues_detectedAdds all elements of
listtoissuesDetected. -
issuesDetected
Required - A list of correctness issues detected, which is empty if the API succeeded. It is included to emphasize that a successful response does not guarantee correct behaviour in future.API name:
issues_detectedAdds one or more values to
issuesDetected. -
listingElapsed
Required - The time it took to retrieve a list of all the blobs in the container.API name:
listing_elapsed -
listingElapsed
public final RepositoryAnalyzeResponse.Builder listingElapsed(Function<Time.Builder, ObjectBuilder<Time>> fn) Required - The time it took to retrieve a list of all the blobs in the container.API name:
listing_elapsed -
listingElapsedNanos
Required - The time it took to retrieve a list of all the blobs in the container, in nanoseconds.API name:
listing_elapsed_nanos -
maxBlobSize
Required - The limit on the size of a blob written during the test.API name:
max_blob_size -
maxBlobSizeBytes
Required - The limit, in bytes, on the size of a blob written during the test.API name:
max_blob_size_bytes -
maxTotalDataSize
Required - The limit on the total size of all blob written during the test.API name:
max_total_data_size -
maxTotalDataSizeBytes
Required - The limit, in bytes, on the total size of all blob written during the test.API name:
max_total_data_size_bytes -
rareActionProbability
Required - The probability of performing rare actions during the test.API name:
rare_action_probability -
readNodeCount
Required - The limit on the number of nodes on which read operations were performed after writing each blob.API name:
read_node_count -
repository
Required - The name of the repository that was the subject of the analysis.API name:
repository -
seed
Required - The seed for the pseudo-random number generator used to generate the operations used during the test.API name:
seed -
summary
Required - A collection of statistics that summarize the results of the test.API name:
summary -
summary
public final RepositoryAnalyzeResponse.Builder summary(Function<SummaryInfo.Builder, ObjectBuilder<SummaryInfo>> fn) Required - A collection of statistics that summarize the results of the test.API name:
summary -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<RepositoryAnalyzeResponse.Builder>
-
build
Builds aRepositoryAnalyzeResponse.- Specified by:
buildin interfaceObjectBuilder<RepositoryAnalyzeResponse>- Throws:
NullPointerException- if some of the required fields are null.
-