Class IndexPermission
java.lang.Object
org.opensearch.client.opensearch.security.IndexPermission
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<IndexPermission.Builder,IndexPermission>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class IndexPermission
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<IndexPermission.Builder,IndexPermission>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<IndexPermission> Json deserializer forIndexPermission -
Method Summary
Modifier and TypeMethodDescriptionAPI name:allowed_actionsstatic IndexPermission.Builderbuilder()final Stringdls()API name:dlsbooleanfls()API name:flsinthashCode()API name:index_patternsAPI name:masked_fieldsstatic IndexPermissionvoidserialize(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 forIndexPermission
-
-
Method Details
-
of
public static IndexPermission of(Function<IndexPermission.Builder, ObjectBuilder<IndexPermission>> fn) -
allowedActions
API name:allowed_actions -
dls
API name:dls -
fls
API name:fls -
indexPatterns
API name:index_patterns -
maskedFields
API name:masked_fields -
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<IndexPermission.Builder,IndexPermission> - Returns:
- a new builder instance.
-
builder
-
setupIndexPermissionDeserializer
protected static void setupIndexPermissionDeserializer(ObjectDeserializer<IndexPermission.Builder> op) -
hashCode
public int hashCode() -
equals
-