Class CreatePitResponse
java.lang.Object
org.opensearch.client.opensearch.core.CreatePitResponse
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<CreatePitResponse.Builder,CreatePitResponse>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class CreatePitResponse
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<CreatePitResponse.Builder,CreatePitResponse>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<CreatePitResponse> Json deserializer forCreatePitResponse -
Method Summary
Modifier and TypeMethodDescriptionstatic CreatePitResponse.Builderbuilder()final LongAPI name:creation_timebooleaninthashCode()static CreatePitResponsefinal StringpitId()API name:pit_idvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal ShardStatisticsshards()API name:_shardsCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forCreatePitResponse
-
-
Method Details
-
of
public static CreatePitResponse of(Function<CreatePitResponse.Builder, ObjectBuilder<CreatePitResponse>> fn) -
creationTime
API name:creation_time -
pitId
API name:pit_id -
shards
API name:_shards -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<CreatePitResponse.Builder,CreatePitResponse> - Returns:
- a new builder instance.
-
builder
-
setupCreatePitResponseDeserializer
protected static void setupCreatePitResponseDeserializer(ObjectDeserializer<CreatePitResponse.Builder> op) -
hashCode
public int hashCode() -
equals
-