EncryptionProperty Class
- java.
lang. Object - com.
azure. resourcemanager. machinelearning. models. EncryptionProperty
- com.
Implements
public final class EncryptionProperty
implements JsonSerializable<EncryptionProperty>
The EncryptionProperty model.
Constructor Summary
| Constructor | Description |
|---|---|
| EncryptionProperty() |
Creates an instance of Encryption |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Encryption |
fromJson(JsonReader jsonReader)
Reads an instance of Encryption |
|
Identity |
identity()
Get the identity property: The identity that will be used to access the key vault for encryption at rest. |
|
Encryption |
keyVaultProperties()
Get the key |
|
Encryption |
status()
Get the status property: Indicates whether or not the encryption is enabled for the workspace. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Encryption |
withIdentity(IdentityForCmk identity)
Set the identity property: The identity that will be used to access the key vault for encryption at rest. |
|
Encryption |
withKeyVaultProperties(EncryptionKeyVaultProperties keyVaultProperties)
Set the key |
|
Encryption |
withStatus(EncryptionStatus status)
Set the status property: Indicates whether or not the encryption is enabled for the workspace. |
Methods inherited from java.lang.Object
Constructor Details
EncryptionProperty
public EncryptionProperty()
Creates an instance of EncryptionProperty class.
Method Details
fromJson
public static EncryptionProperty fromJson(JsonReader jsonReader)
Reads an instance of EncryptionProperty from the JsonReader.
Parameters:
Returns:
Throws:
identity
public IdentityForCmk identity()
Get the identity property: The identity that will be used to access the key vault for encryption at rest.
Returns:
keyVaultProperties
public EncryptionKeyVaultProperties keyVaultProperties()
Get the keyVaultProperties property: Customer Key vault properties.
Returns:
status
public EncryptionStatus status()
Get the status property: Indicates whether or not the encryption is enabled for the workspace.
Returns:
toJson
validate
public void validate()
Validates the instance.
withIdentity
public EncryptionProperty withIdentity(IdentityForCmk identity)
Set the identity property: The identity that will be used to access the key vault for encryption at rest.
Parameters:
Returns:
withKeyVaultProperties
public EncryptionProperty withKeyVaultProperties(EncryptionKeyVaultProperties keyVaultProperties)
Set the keyVaultProperties property: Customer Key vault properties.
Parameters:
Returns:
withStatus
public EncryptionProperty withStatus(EncryptionStatus status)
Set the status property: Indicates whether or not the encryption is enabled for the workspace.
Parameters:
Returns: