Class AddPolicyResponse
java.lang.Object
org.opensearch.client.opensearch.ism.AddPolicyResponse
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<AddPolicyResponse.Builder,AddPolicyResponse>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class AddPolicyResponse
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<AddPolicyResponse.Builder,AddPolicyResponse>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<AddPolicyResponse> Json deserializer forAddPolicyResponse -
Method Summary
Modifier and TypeMethodDescriptionstatic AddPolicyResponse.Builderbuilder()booleanfinal List<FailedIndex> The list of indices that failed to update.final Booleanfailures()Whether there were any failures.inthashCode()static AddPolicyResponsevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.final NumberThe number of updated indices.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 forAddPolicyResponse
-
-
Method Details
-
of
public static AddPolicyResponse of(Function<AddPolicyResponse.Builder, ObjectBuilder<AddPolicyResponse>> fn) -
failedIndices
The list of indices that failed to update.API name:
failed_indices -
failures
Whether there were any failures.API name:
failures -
updatedIndices
The number of updated indices.API name:
updated_indices -
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<AddPolicyResponse.Builder,AddPolicyResponse> - Returns:
- a new builder instance.
-
builder
-
setupAddPolicyResponseDeserializer
protected static void setupAddPolicyResponseDeserializer(ObjectDeserializer<AddPolicyResponse.Builder> op) -
hashCode
public int hashCode() -
equals
-