Class DateRangeProperty.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.mapping.PropertyBase.AbstractBuilder<DateRangeProperty.Builder>
org.opensearch.client.opensearch._types.mapping.CorePropertyBase.AbstractBuilder<DateRangeProperty.Builder>
org.opensearch.client.opensearch._types.mapping.DocValuesPropertyBase.AbstractBuilder<DateRangeProperty.Builder>
org.opensearch.client.opensearch._types.mapping.RangePropertyBase.AbstractBuilder<DateRangeProperty.Builder>
org.opensearch.client.opensearch._types.mapping.DateRangeProperty.Builder
- All Implemented Interfaces:
CopyableBuilder<DateRangeProperty.Builder,,DateRangeProperty> MutableBuilder<DateRangeProperty.Builder,,DateRangeProperty> ObjectBuilder<DateRangeProperty>
- Enclosing class:
DateRangeProperty
public static class DateRangeProperty.Builder
extends RangePropertyBase.AbstractBuilder<DateRangeProperty.Builder>
implements CopyableBuilder<DateRangeProperty.Builder,DateRangeProperty>
Builder for
DateRangeProperty.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aDateRangeProperty.copy()Create a new builderCopyableBuilderthat is a copy of this one.API name:formatprotected DateRangeProperty.Builderself()Methods inherited from class org.opensearch.client.opensearch._types.mapping.RangePropertyBase.AbstractBuilder
boost, coerce, indexMethods inherited from class org.opensearch.client.opensearch._types.mapping.DocValuesPropertyBase.AbstractBuilder
docValuesMethods inherited from class org.opensearch.client.opensearch._types.mapping.CorePropertyBase.AbstractBuilder
copyTo, copyTo, similarity, storeMethods inherited from class org.opensearch.client.opensearch._types.mapping.PropertyBase.AbstractBuilder
dynamic, fields, fields, fields, ignoreAbove, meta, meta, properties, properties, propertiesMethods 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<DateRangeProperty.Builder,DateRangeProperty> - Returns:
- a new builder instance.
-
self
- Specified by:
selfin classPropertyBase.AbstractBuilder<DateRangeProperty.Builder>
-
format
API name:format -
build
Builds aDateRangeProperty.- Specified by:
buildin interfaceObjectBuilder<DateRangeProperty>- Throws:
NullPointerException- if some of the required fields are null.
-