Class GetPolicyResponse
java.lang.Object
org.opensearch.client.opensearch.ism.GetPolicyResponse
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<GetPolicyResponse.Builder,GetPolicyResponse>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class GetPolicyResponse
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<GetPolicyResponse.Builder,GetPolicyResponse>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<GetPolicyResponse> Json deserializer forGetPolicyResponse -
Method Summary
Modifier and TypeMethodDescriptionstatic GetPolicyResponse.Builderbuilder()booleaninthashCode()static GetPolicyResponsefinal Policypolicy()API name:policyvoidserialize(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.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 forGetPolicyResponse
-
-
Method Details
-
of
public static GetPolicyResponse of(Function<GetPolicyResponse.Builder, ObjectBuilder<GetPolicyResponse>> fn) -
policy
API name:policy -
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<GetPolicyResponse.Builder,GetPolicyResponse> - Returns:
- a new builder instance.
-
builder
-
setupGetPolicyResponseDeserializer
protected static void setupGetPolicyResponseDeserializer(ObjectDeserializer<GetPolicyResponse.Builder> op) -
hashCode
public int hashCode() -
equals
-