Class ExistsTypeRequest.Builder
java.lang.Object
org.opensearch.client.opensearch.indices.ExistsTypeRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<ExistsTypeRequest>
- Enclosing class:
- ExistsTypeRequest
public static class ExistsTypeRequest.Builder extends java.lang.Object implements ObjectBuilder<ExistsTypeRequest>
Builder for
ExistsTypeRequest.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opensearch.client.util.ObjectBuilder
ObjectBuilder.Constant<V> -
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description ExistsTypeRequest.BuilderaddIndex(java.lang.String value)Add a value toindex(List), creating the list if needed.ExistsTypeRequest.BuilderaddType(java.lang.String value)Add a value totype(List), creating the list if needed.ExistsTypeRequest.BuilderallowNoIndices(java.lang.Boolean value)API name:allow_no_indicesExistsTypeRequestbuild()Builds aExistsTypeRequest.ExistsTypeRequest.BuilderexpandWildcards(jakarta.json.JsonValue value)API name:expand_wildcardsExistsTypeRequest.BuilderignoreUnavailable(java.lang.Boolean value)API name:ignore_unavailableExistsTypeRequest.Builderindex(java.lang.String... value)API name:indexExistsTypeRequest.Builderindex(java.util.List<java.lang.String> value)API name:indexExistsTypeRequest.Builderlocal(java.lang.Boolean value)API name:localExistsTypeRequest.Buildertype(java.lang.String... value)API name:typeExistsTypeRequest.Buildertype(java.util.List<java.lang.String> value)API name:type
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
index
API name:index -
index
API name:index -
addIndex
Add a value toindex(List), creating the list if needed. -
type
API name:type -
type
API name:type -
addType
Add a value totype(List), creating the list if needed. -
allowNoIndices
API name:allow_no_indices -
expandWildcards
API name:expand_wildcards -
ignoreUnavailable
API name:ignore_unavailable -
local
API name:local -
build
Builds aExistsTypeRequest.- Specified by:
buildin interfaceObjectBuilder<ExistsTypeRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-