Class Overlapping.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.indices.simulate_template.Overlapping.Builder
- All Implemented Interfaces:
CopyableBuilder<Overlapping.Builder,,Overlapping> MutableBuilder<Overlapping.Builder,,Overlapping> ObjectBuilder<Overlapping>
- Enclosing class:
Overlapping
public static class Overlapping.Builder
extends ObjectBuilderBase
implements CopyableBuilder<Overlapping.Builder,Overlapping>
Builder for
Overlapping.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aOverlapping.copy()Create a new builderCopyableBuilderthat is a copy of this one.final Overlapping.BuilderindexPatterns(String value, String... values) Required - The list of index patterns that may overlap with other templates.final Overlapping.BuilderindexPatterns(List<String> list) Required - The list of index patterns that may overlap with other templates.final Overlapping.BuilderRequired - API name:nameMethods 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<Overlapping.Builder,Overlapping> - Returns:
- a new builder instance.
-
indexPatterns
Required - The list of index patterns that may overlap with other templates.API name:
index_patternsAdds all elements of
listtoindexPatterns. -
indexPatterns
Required - The list of index patterns that may overlap with other templates.API name:
index_patternsAdds one or more values to
indexPatterns. -
name
Required - API name:name -
build
Builds aOverlapping.- Specified by:
buildin interfaceObjectBuilder<Overlapping>- Throws:
NullPointerException- if some of the required fields are null.
-