Class DocumentSimulation
java.lang.Object
org.opensearch.client.opensearch.ingest.simulate_pipeline.DocumentSimulation
- All Implemented Interfaces:
ToJsonp
public final class DocumentSimulation extends java.lang.Object implements ToJsonp
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDocumentSimulation.BuilderBuilder forDocumentSimulation. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<DocumentSimulation>DESERIALIZERJson deserializer for DocumentSimulation -
Constructor Summary
Constructors Modifier Constructor Description protectedDocumentSimulation(DocumentSimulation.Builder builder) -
Method Summary
Modifier and Type Method Description java.lang.Stringid()API name:_idjava.lang.Stringindex()API name:_indexIngestingest()API name:_ingestjava.lang.Stringparent()API name:_parentjava.lang.Stringrouting()API name:_routingprotected static voidsetupDocumentSimulationDeserializer(DelegatingDeserializer<DocumentSimulation.Builder> op)java.util.Map<java.lang.String,jakarta.json.JsonValue>source()API name:_sourcevoidtoJsonp(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidtoJsonpInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)java.lang.Stringtype()API name:_type
-
Field Details
-
DESERIALIZER
Json deserializer for DocumentSimulation
-
-
Constructor Details
-
Method Details
-
id
public java.lang.String id()API name:_id -
index
public java.lang.String index()API name:_index -
ingest
API name:_ingest -
parent
@Nullable public java.lang.String parent()API name:_parent -
routing
@Nullable public java.lang.String routing()API name:_routing -
source
public java.util.Map<java.lang.String,jakarta.json.JsonValue> source()API name:_source -
type
@Nullable public java.lang.String type()API name:_type -
toJsonp
Serialize this object to JSON. -
toJsonpInternal
-
setupDocumentSimulationDeserializer
protected static void setupDocumentSimulationDeserializer(DelegatingDeserializer<DocumentSimulation.Builder> op)
-