EncryptionProperty Class

  • java.lang.Object
    • com.azure.resourcemanager.machinelearningservices.models.EncryptionProperty

public final class EncryptionProperty

The EncryptionProperty model.

Constructor Summary

Constructor Description
EncryptionProperty()

Method Summary

Modifier and Type Method and Description
IdentityForCmk identity()

Get the identity property: The identity that will be used to access the key vault for encryption at rest.

KeyVaultProperties keyVaultProperties()

Get the keyVaultProperties property: Customer Key vault properties.

EncryptionStatus status()

Get the status property: Indicates whether or not the encryption is enabled for the workspace.

void validate()

Validates the instance.

EncryptionProperty withIdentity(IdentityForCmk identity)

Set the identity property: The identity that will be used to access the key vault for encryption at rest.

EncryptionProperty withKeyVaultProperties(KeyVaultProperties keyVaultProperties)

Set the keyVaultProperties property: Customer Key vault properties.

EncryptionProperty 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()

Method Details

identity

public IdentityForCmk identity()

Get the identity property: The identity that will be used to access the key vault for encryption at rest.

Returns:

the identity value.

keyVaultProperties

public KeyVaultProperties keyVaultProperties()

Get the keyVaultProperties property: Customer Key vault properties.

Returns:

the keyVaultProperties value.

status

public EncryptionStatus status()

Get the status property: Indicates whether or not the encryption is enabled for the workspace.

Returns:

the status value.

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:

identity - the identity value to set.

Returns:

the EncryptionProperty object itself.

withKeyVaultProperties

public EncryptionProperty withKeyVaultProperties(KeyVaultProperties keyVaultProperties)

Set the keyVaultProperties property: Customer Key vault properties.

Parameters:

keyVaultProperties - the keyVaultProperties value to set.

Returns:

the EncryptionProperty object itself.

withStatus

public EncryptionProperty withStatus(EncryptionStatus status)

Set the status property: Indicates whether or not the encryption is enabled for the workspace.

Parameters:

status - the status value to set.

Returns:

the EncryptionProperty object itself.

Applies to