Class PutIndicesSettingsRequest
- java.lang.Object
-
- org.opensearch.client.opensearch._types.RequestBase
-
- org.opensearch.client.opensearch.indices.PutIndicesSettingsRequest
-
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class PutIndicesSettingsRequest extends RequestBase implements JsonpSerializable
Updates the index settings.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPutIndicesSettingsRequest.BuilderBuilder forPutIndicesSettingsRequest.-
Nested classes/interfaces inherited from class org.opensearch.client.opensearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<PutIndicesSettingsRequest>_DESERIALIZERstatic Endpoint<PutIndicesSettingsRequest,PutIndicesSettingsResponse,ErrorResponse>_ENDPOINTEndpoint "indices.put_settings".
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.BooleanallowNoIndices()Whether to ignore if a wildcard indices expression resolves into no concrete indices.TimeclusterManagerTimeout()Specify timeout for connection to cluster-managerprotected static JsonpDeserializer<PutIndicesSettingsRequest>createPutIndicesSettingsRequestDeserializer()java.util.List<ExpandWildcard>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 indicesTimemasterTimeout()Deprecated.static PutIndicesSettingsRequestof(java.util.function.Function<PutIndicesSettingsRequest.Builder,ObjectBuilder<PutIndicesSettingsRequest>> fn)java.lang.BooleanpreserveExisting()Whether to update existing settings.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this value to JSON.IndexSettingssettings()Required - Request body.Timetimeout()Explicit operation timeout
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<PutIndicesSettingsRequest> _DESERIALIZER
-
_ENDPOINT
public static final Endpoint<PutIndicesSettingsRequest,PutIndicesSettingsResponse,ErrorResponse> _ENDPOINT
Endpoint "indices.put_settings".
-
-
Method Detail
-
of
public static PutIndicesSettingsRequest of(java.util.function.Function<PutIndicesSettingsRequest.Builder,ObjectBuilder<PutIndicesSettingsRequest>> fn)
-
allowNoIndices
@Nullable public final 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
public final java.util.List<ExpandWildcard> expandWildcards()
Whether to expand wildcard expression to concrete indices that are open, closed or both.API name:
expand_wildcards
-
flatSettings
@Nullable public final java.lang.Boolean flatSettings()
Return settings in flat format (default: false)API name:
flat_settings
-
ignoreUnavailable
@Nullable public final java.lang.Boolean ignoreUnavailable()
Whether specified concrete indices should be ignored when unavailable (missing or closed)API name:
ignore_unavailable
-
index
public final 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
-
masterTimeout
@Deprecated @Nullable public final Time masterTimeout()
Deprecated.Specify timeout for connection to masterAPI name:
master_timeout
-
clusterManagerTimeout
@Nullable public final Time clusterManagerTimeout()
Specify timeout for connection to cluster-managerAPI name:
cluster_manager_timeout
-
preserveExisting
@Nullable public final 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 final Time timeout()
Explicit operation timeoutAPI name:
timeout
-
settings
public final IndexSettings settings()
Required - Request body.API name:
_value_body
-
serialize
public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this value to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
createPutIndicesSettingsRequestDeserializer
protected static JsonpDeserializer<PutIndicesSettingsRequest> createPutIndicesSettingsRequestDeserializer()
-
-