Class ChangePolicyResponse
java.lang.Object
org.opensearch.client.opensearch.ism.ChangePolicyResponse
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<ChangePolicyResponse.Builder,ChangePolicyResponse>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class ChangePolicyResponse
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<ChangePolicyResponse.Builder,ChangePolicyResponse>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ChangePolicyResponse> Json deserializer forChangePolicyResponse -
Method Summary
Modifier and TypeMethodDescriptionstatic ChangePolicyResponse.Builderbuilder()booleanfinal List<FailedIndex> The list of indices that failed to update.final Booleanfailures()Whether there were any failures.inthashCode()static ChangePolicyResponsevoidserialize(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 forChangePolicyResponse
-
-
Method Details
-
of
public static ChangePolicyResponse of(Function<ChangePolicyResponse.Builder, ObjectBuilder<ChangePolicyResponse>> 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<ChangePolicyResponse.Builder,ChangePolicyResponse> - Returns:
- a new builder instance.
-
builder
-
setupChangePolicyResponseDeserializer
protected static void setupChangePolicyResponseDeserializer(ObjectDeserializer<ChangePolicyResponse.Builder> op) -
hashCode
public int hashCode() -
equals
-