public static class IdentifiableJsonSchemaProperty.EncryptedJsonSchemaProperty extends Object implements JsonSchemaProperty
JsonSchemaProperty implementation for encrypted fields.JsonSchemaProperty.JsonSchemaPropertyBuilderJsonSchemaObject.Type| Constructor and Description |
|---|
EncryptedJsonSchemaProperty(JsonSchemaProperty target)
Create new instance of
IdentifiableJsonSchemaProperty.EncryptedJsonSchemaProperty wrapping the given target. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic EncryptedJsonSchemaProperty(JsonSchemaProperty target)
IdentifiableJsonSchemaProperty.EncryptedJsonSchemaProperty wrapping the given target.target - must not be null.public static IdentifiableJsonSchemaProperty.EncryptedJsonSchemaProperty encrypted(JsonSchemaProperty target)
IdentifiableJsonSchemaProperty.EncryptedJsonSchemaProperty wrapping the given target.encrypted in interface JsonSchemaPropertytarget - must not be null.IdentifiableJsonSchemaProperty.EncryptedJsonSchemaProperty.public IdentifiableJsonSchemaProperty.EncryptedJsonSchemaProperty aead_aes_256_cbc_hmac_sha_512_random()
IdentifiableJsonSchemaProperty.EncryptedJsonSchemaProperty.public IdentifiableJsonSchemaProperty.EncryptedJsonSchemaProperty aead_aes_256_cbc_hmac_sha_512_deterministic()
IdentifiableJsonSchemaProperty.EncryptedJsonSchemaProperty.public IdentifiableJsonSchemaProperty.EncryptedJsonSchemaProperty algorithm(String algorithm)
IdentifiableJsonSchemaProperty.EncryptedJsonSchemaProperty.public IdentifiableJsonSchemaProperty.EncryptedJsonSchemaProperty keyId(String keyId)
keyId - must not be null.IdentifiableJsonSchemaProperty.EncryptedJsonSchemaProperty.public IdentifiableJsonSchemaProperty.EncryptedJsonSchemaProperty keys(UUID... keyId)
keyId - must not be null.IdentifiableJsonSchemaProperty.EncryptedJsonSchemaProperty.public org.bson.Document toDocument()
JsonSchemaObjectDocument through the mapping infrastructure.toDocument in interface JsonSchemaObjectpublic String getIdentifier()
JsonSchemaPropertyTypedJsonSchemaObject.ObjectJsonSchemaObject.patternProperties(JsonSchemaProperty...).getIdentifier in interface JsonSchemaPropertypublic Set<JsonSchemaObject.Type> getTypes()
JsonSchemaObjectSet is likely to contain only one element in most cases.getTypes in interface JsonSchemaObjectCopyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.