Class ShardFileSizeInfo.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.indices.stats.ShardFileSizeInfo.Builder
- All Implemented Interfaces:
CopyableBuilder<ShardFileSizeInfo.Builder,,ShardFileSizeInfo> MutableBuilder<ShardFileSizeInfo.Builder,,ShardFileSizeInfo> ObjectBuilder<ShardFileSizeInfo>
- Enclosing class:
ShardFileSizeInfo
public static class ShardFileSizeInfo.Builder
extends ObjectBuilderBase
implements CopyableBuilder<ShardFileSizeInfo.Builder,ShardFileSizeInfo>
Builder for
ShardFileSizeInfo.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaverageSizeInBytes(Long value) API name:average_size_in_bytesbuild()Builds aShardFileSizeInfo.copy()Create a new builderCopyableBuilderthat is a copy of this one.The number of files.description(String value) Required - The description of the file type.maxSizeInBytes(Long value) API name:max_size_in_bytesminSizeInBytes(Long value) API name:min_size_in_bytesAPI name:sizesizeInBytes(long value) Required - API name:size_in_bytesMethods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.MutableBuilder
applyMutation
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
copy
Description copied from interface:CopyableBuilderCreate a new builderCopyableBuilderthat is a copy of this one.- Specified by:
copyin interfaceCopyableBuilder<ShardFileSizeInfo.Builder,ShardFileSizeInfo> - Returns:
- a new builder instance.
-
averageSizeInBytes
API name:average_size_in_bytes -
count
The number of files.API name:
count -
description
Required - The description of the file type.API name:
description -
maxSizeInBytes
API name:max_size_in_bytes -
minSizeInBytes
API name:min_size_in_bytes -
size
API name:size -
sizeInBytes
Required - API name:size_in_bytes -
build
Builds aShardFileSizeInfo.- Specified by:
buildin interfaceObjectBuilder<ShardFileSizeInfo>- Throws:
NullPointerException- if some of the required fields are null.
-