Class PutSettingsRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.indices.PutSettingsRequest
- All Implemented Interfaces:
ElasticsearchCommonRequest,JsonpSerializable
@JsonpDeserializable public final class PutSettingsRequest extends RequestBase implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPutSettingsRequest.BuilderBuilder forPutSettingsRequest.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<PutSettingsRequest>_DESERIALIZERstatic Endpoint<PutSettingsRequest,PutSettingsResponse,ElasticsearchError>ENDPOINTEndpoint "indices.put_settings". -
Constructor Summary
Constructors Constructor Description PutSettingsRequest(PutSettingsRequest.Builder builder)PutSettingsRequest(java.util.function.Function<PutSettingsRequest.Builder,PutSettingsRequest.Builder> fn) -
Method Summary
Modifier and Type Method Description java.lang.BooleanallowNoIndices()Whether to ignore if a wildcard indices expression resolves into no concrete indices.protected static JsonpDeserializer<PutSettingsRequest>createPutSettingsRequestDeserializer()java.util.List<ExpandWildcardOptions>expandWildcards()Whether to expand wildcard expression to concrete indices that are open, closed or both.java.lang.BooleanflatSettings()Return settings in flat format (default: false)java.lang.BooleanignoreUnavailable()Whether specified concrete indices should be ignored when unavailable (missing or closed)java.util.List<java.lang.String>index()A comma-separated list of index names; use_allor empty string to perform the operation on all indicesjava.lang.StringmasterTimeout()Specify timeout for connection to masterjava.lang.BooleanpreserveExisting()Whether to update existing settings.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this value to JSON.IndexSettingssettings()Required - Request body.java.lang.Stringtimeout()Explicit operation timeoutMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
-
ENDPOINT
Endpoint "indices.put_settings".
-
-
Constructor Details
-
PutSettingsRequest
-
PutSettingsRequest
public PutSettingsRequest(java.util.function.Function<PutSettingsRequest.Builder,PutSettingsRequest.Builder> fn)
-
-
Method Details
-
index
@Nullable public java.util.List<java.lang.String> index()A comma-separated list of index names; use_allor empty string to perform the operation on all indicesAPI name:
index -
allowNoIndices
@Nullable public java.lang.Boolean allowNoIndices()Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes_allstring or when no indices have been specified)API name:
allow_no_indices -
expandWildcards
Whether to expand wildcard expression to concrete indices that are open, closed or both.API name:
expand_wildcards -
flatSettings
@Nullable public java.lang.Boolean flatSettings()Return settings in flat format (default: false)API name:
flat_settings -
masterTimeout
@Nullable public java.lang.String masterTimeout()Specify timeout for connection to masterAPI name:
master_timeout -
preserveExisting
@Nullable public java.lang.Boolean preserveExisting()Whether to update existing settings. If set totrueexisting settings on an index remain unchanged, the default isfalseAPI name:
preserve_existing -
timeout
@Nullable public java.lang.String timeout()Explicit operation timeoutAPI name:
timeout -
settings
Required - Request body.API name:
_value_body -
serialize
Serialize this value to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
createPutSettingsRequestDeserializer
-