AccountEncryption Class
- java.
lang. Object - com.
azure. resourcemanager. netapp. models. AccountEncryption
- com.
Implements
public final class AccountEncryption
implements JsonSerializable<AccountEncryption>
Encryption settings.
Constructor Summary
Constructor | Description |
---|---|
AccountEncryption() |
Creates an instance of Account |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Account |
fromJson(JsonReader jsonReader)
Reads an instance of Account |
Encryption |
identity()
Get the identity property: Identity used to authenticate to Key |
Key |
keySource()
Get the key |
Key |
keyVaultProperties()
Get the key |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Account |
withIdentity(EncryptionIdentity identity)
Set the identity property: Identity used to authenticate to Key |
Account |
withKeySource(KeySource keySource)
Set the key |
Account |
withKeyVaultProperties(KeyVaultProperties keyVaultProperties)
Set the key |
Methods inherited from java.lang.Object
Constructor Details
AccountEncryption
public AccountEncryption()
Creates an instance of AccountEncryption class.
Method Details
fromJson
public static AccountEncryption fromJson(JsonReader jsonReader)
Reads an instance of AccountEncryption from the JsonReader.
Parameters:
Returns:
Throws:
identity
public EncryptionIdentity identity()
Get the identity property: Identity used to authenticate to KeyVault. Applicable if keySource is 'Microsoft.KeyVault'.
Returns:
keySource
public KeySource keySource()
Get the keySource property: The encryption keySource (provider). Possible values (case-insensitive): Microsoft.NetApp, Microsoft.KeyVault.
Returns:
keyVaultProperties
public KeyVaultProperties keyVaultProperties()
Get the keyVaultProperties property: Properties provided by KeVault. Applicable if keySource is 'Microsoft.KeyVault'.
Returns:
toJson
validate
public void validate()
Validates the instance.
withIdentity
public AccountEncryption withIdentity(EncryptionIdentity identity)
Set the identity property: Identity used to authenticate to KeyVault. Applicable if keySource is 'Microsoft.KeyVault'.
Parameters:
Returns:
withKeySource
public AccountEncryption withKeySource(KeySource keySource)
Set the keySource property: The encryption keySource (provider). Possible values (case-insensitive): Microsoft.NetApp, Microsoft.KeyVault.
Parameters:
Returns:
withKeyVaultProperties
public AccountEncryption withKeyVaultProperties(KeyVaultProperties keyVaultProperties)
Set the keyVaultProperties property: Properties provided by KeVault. Applicable if keySource is 'Microsoft.KeyVault'.
Parameters:
Returns:
Applies to
Azure SDK for Java