EncryptionProperties Class
- java.
lang. Object - com.
azure. resourcemanager. automation. models. EncryptionProperties
- com.
Implements
public final class EncryptionProperties
implements JsonSerializable<EncryptionProperties>
The encryption settings for automation account.
Constructor Summary
| Constructor | Description |
|---|---|
| EncryptionProperties() |
Creates an instance of Encryption |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Encryption |
fromJson(JsonReader jsonReader)
Reads an instance of Encryption |
|
Encryption |
identity()
Get the identity property: User identity used for CMK. |
|
Encryption |
keySource()
Get the key |
|
Key |
keyVaultProperties()
Get the key |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Encryption |
withIdentity(EncryptionPropertiesIdentity identity)
Set the identity property: User identity used for CMK. |
|
Encryption |
withKeySource(EncryptionKeySourceType keySource)
Set the key |
|
Encryption |
withKeyVaultProperties(KeyVaultProperties keyVaultProperties)
Set the key |
Methods inherited from java.lang.Object
Constructor Details
EncryptionProperties
public EncryptionProperties()
Creates an instance of EncryptionProperties class.
Method Details
fromJson
public static EncryptionProperties fromJson(JsonReader jsonReader)
Reads an instance of EncryptionProperties from the JsonReader.
Parameters:
Returns:
Throws:
identity
public EncryptionPropertiesIdentity identity()
Get the identity property: User identity used for CMK.
Returns:
keySource
public EncryptionKeySourceType keySource()
Get the keySource property: Encryption Key Source.
Returns:
keyVaultProperties
public KeyVaultProperties keyVaultProperties()
Get the keyVaultProperties property: Key vault properties.
Returns:
toJson
validate
public void validate()
Validates the instance.
withIdentity
public EncryptionProperties withIdentity(EncryptionPropertiesIdentity identity)
Set the identity property: User identity used for CMK.
Parameters:
Returns:
withKeySource
public EncryptionProperties withKeySource(EncryptionKeySourceType keySource)
Set the keySource property: Encryption Key Source.
Parameters:
Returns:
withKeyVaultProperties
public EncryptionProperties withKeyVaultProperties(KeyVaultProperties keyVaultProperties)
Set the keyVaultProperties property: Key vault properties.
Parameters:
Returns: