Class EncryptionKeyVaultProperties
java.lang.Object
com.azure.resourcemanager.machinelearning.models.EncryptionKeyVaultProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<EncryptionKeyVaultProperties>
public final class EncryptionKeyVaultProperties
extends Object
implements com.azure.json.JsonSerializable<EncryptionKeyVaultProperties>
The EncryptionKeyVaultProperties model.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of EncryptionKeyVaultProperties class. -
Method Summary
Modifier and TypeMethodDescriptionstatic EncryptionKeyVaultPropertiesfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of EncryptionKeyVaultProperties from the JsonReader.Get the identityClientId property: For future use - The client id of the identity which will be used to access key vault.Get the keyIdentifier property: Key vault uri to access the encryption key.Get the keyVaultArmId property: The ArmId of the keyVault where the customer owned encryption key is present.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withIdentityClientId(String identityClientId) Set the identityClientId property: For future use - The client id of the identity which will be used to access key vault.withKeyIdentifier(String keyIdentifier) Set the keyIdentifier property: Key vault uri to access the encryption key.withKeyVaultArmId(String keyVaultArmId) Set the keyVaultArmId property: The ArmId of the keyVault where the customer owned encryption key is present.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
EncryptionKeyVaultProperties
public EncryptionKeyVaultProperties()Creates an instance of EncryptionKeyVaultProperties class.
-
-
Method Details
-
keyVaultArmId
Get the keyVaultArmId property: The ArmId of the keyVault where the customer owned encryption key is present.- Returns:
- the keyVaultArmId value.
-
withKeyVaultArmId
Set the keyVaultArmId property: The ArmId of the keyVault where the customer owned encryption key is present.- Parameters:
keyVaultArmId- the keyVaultArmId value to set.- Returns:
- the EncryptionKeyVaultProperties object itself.
-
keyIdentifier
Get the keyIdentifier property: Key vault uri to access the encryption key.- Returns:
- the keyIdentifier value.
-
withKeyIdentifier
Set the keyIdentifier property: Key vault uri to access the encryption key.- Parameters:
keyIdentifier- the keyIdentifier value to set.- Returns:
- the EncryptionKeyVaultProperties object itself.
-
identityClientId
Get the identityClientId property: For future use - The client id of the identity which will be used to access key vault.- Returns:
- the identityClientId value.
-
withIdentityClientId
Set the identityClientId property: For future use - The client id of the identity which will be used to access key vault.- Parameters:
identityClientId- the identityClientId value to set.- Returns:
- the EncryptionKeyVaultProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<EncryptionKeyVaultProperties>- Throws:
IOException
-
fromJson
public static EncryptionKeyVaultProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of EncryptionKeyVaultProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of EncryptionKeyVaultProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the EncryptionKeyVaultProperties.
-