Class FielddataRecord.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.cat.fielddata.FielddataRecord.Builder
- All Implemented Interfaces:
CopyableBuilder<FielddataRecord.Builder,,FielddataRecord> MutableBuilder<FielddataRecord.Builder,,FielddataRecord> ObjectBuilder<FielddataRecord>
- Enclosing class:
FielddataRecord
public static class FielddataRecord.Builder
extends ObjectBuilderBase
implements CopyableBuilder<FielddataRecord.Builder,FielddataRecord>
Builder for
FielddataRecord.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aFielddataRecord.copy()Create a new builderCopyableBuilderthat is a copy of this one.final FielddataRecord.Builderfield namefinal FielddataRecord.Builderhostnamefinal FielddataRecord.Buildernode idfinal FielddataRecord.BuilderIP addressfinal FielddataRecord.Buildernode namefinal FielddataRecord.Builderfield data usageMethods 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<FielddataRecord.Builder,FielddataRecord> - Returns:
- a new builder instance.
-
field
field nameAPI name:
field -
host
hostnameAPI name:
host -
id
node idAPI name:
id -
ip
IP addressAPI name:
ip -
node
node nameAPI name:
node -
size
field data usageAPI name:
size -
build
Builds aFielddataRecord.- Specified by:
buildin interfaceObjectBuilder<FielddataRecord>- Throws:
NullPointerException- if some of the required fields are null.
-