Class GetIndexTemplateRequest
java.lang.Object
org.opensearch.client.opensearch._types.RequestBase
org.opensearch.client.opensearch.indices.GetIndexTemplateRequest
- All Implemented Interfaces:
ToJsonp
public final class GetIndexTemplateRequest extends RequestBase implements ToJsonp
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGetIndexTemplateRequest.BuilderBuilder forGetIndexTemplateRequest. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<GetIndexTemplateRequest>DESERIALIZERJson deserializer for GetIndexTemplateRequeststatic Endpoint<GetIndexTemplateRequest,GetIndexTemplateResponse,OpenSearchError>ENDPOINTEndpoint "indices.get_index_template". -
Constructor Summary
Constructors Modifier Constructor Description protectedGetIndexTemplateRequest(GetIndexTemplateRequest.Builder builder) -
Method Summary
Modifier and Type Method Description java.lang.BooleanflatSettings()If true, returns settings in flat format.java.lang.BooleanincludeTypeName()If true, a mapping type is expected in the body of mappings.java.lang.Booleanlocal()If true, the request retrieves information from the local node only.jakarta.json.JsonValuemasterTimeout()Period to wait for a connection to the master node.java.lang.Stringname()Comma-separated list of index template names used to limit the request.protected static voidsetupGetIndexTemplateRequestDeserializer(DelegatingDeserializer<GetIndexTemplateRequest.Builder> op)voidtoJsonp(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidtoJsonpInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
-
Field Details
-
DESERIALIZER
Json deserializer for GetIndexTemplateRequest -
ENDPOINT
public static final Endpoint<GetIndexTemplateRequest,GetIndexTemplateResponse,OpenSearchError> ENDPOINTEndpoint "indices.get_index_template".
-
-
Constructor Details
-
Method Details
-
name
@Nullable public java.lang.String name()Comma-separated list of index template names used to limit the request. Wildcard (*) expressions are supported. API name:name -
local
@Nullable public java.lang.Boolean local()If true, the request retrieves information from the local node only. Defaults to false, which means information is retrieved from the master node. API name:local -
flatSettings
@Nullable public java.lang.Boolean flatSettings()If true, returns settings in flat format. API name:flat_settings -
includeTypeName
@Nullable public java.lang.Boolean includeTypeName()If true, a mapping type is expected in the body of mappings. API name:include_type_name -
masterTimeout
@Nullable public jakarta.json.JsonValue masterTimeout()Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error. API name:master_timeout -
toJsonp
Serialize this object to JSON. -
toJsonpInternal
-
setupGetIndexTemplateRequestDeserializer
protected static void setupGetIndexTemplateRequestDeserializer(DelegatingDeserializer<GetIndexTemplateRequest.Builder> op)
-