Class BackupResourceEncryptionConfig

java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.BackupResourceEncryptionConfig
Direct Known Subclasses:
BackupResourceEncryptionConfigExtended

public class BackupResourceEncryptionConfig extends Object
The BackupResourceEncryptionConfig model.
  • Constructor Details

    • BackupResourceEncryptionConfig

      public BackupResourceEncryptionConfig()
      Creates an instance of BackupResourceEncryptionConfig class.
  • Method Details

    • encryptionAtRestType

      public EncryptionAtRestType encryptionAtRestType()
      Get the encryptionAtRestType property: Encryption At Rest Type.
      Returns:
      the encryptionAtRestType value.
    • withEncryptionAtRestType

      public BackupResourceEncryptionConfig withEncryptionAtRestType(EncryptionAtRestType encryptionAtRestType)
      Set the encryptionAtRestType property: Encryption At Rest Type.
      Parameters:
      encryptionAtRestType - the encryptionAtRestType value to set.
      Returns:
      the BackupResourceEncryptionConfig object itself.
    • keyUri

      public String keyUri()
      Get the keyUri property: Key Vault Key URI.
      Returns:
      the keyUri value.
    • withKeyUri

      public BackupResourceEncryptionConfig withKeyUri(String keyUri)
      Set the keyUri property: Key Vault Key URI.
      Parameters:
      keyUri - the keyUri value to set.
      Returns:
      the BackupResourceEncryptionConfig object itself.
    • subscriptionId

      public String subscriptionId()
      Get the subscriptionId property: Key Vault Subscription Id.
      Returns:
      the subscriptionId value.
    • withSubscriptionId

      public BackupResourceEncryptionConfig withSubscriptionId(String subscriptionId)
      Set the subscriptionId property: Key Vault Subscription Id.
      Parameters:
      subscriptionId - the subscriptionId value to set.
      Returns:
      the BackupResourceEncryptionConfig object itself.
    • lastUpdateStatus

      public LastUpdateStatus lastUpdateStatus()
      Get the lastUpdateStatus property: The lastUpdateStatus property.
      Returns:
      the lastUpdateStatus value.
    • withLastUpdateStatus

      public BackupResourceEncryptionConfig withLastUpdateStatus(LastUpdateStatus lastUpdateStatus)
      Set the lastUpdateStatus property: The lastUpdateStatus property.
      Parameters:
      lastUpdateStatus - the lastUpdateStatus value to set.
      Returns:
      the BackupResourceEncryptionConfig object itself.
    • infrastructureEncryptionState

      public InfrastructureEncryptionState infrastructureEncryptionState()
      Get the infrastructureEncryptionState property: The infrastructureEncryptionState property.
      Returns:
      the infrastructureEncryptionState value.
    • withInfrastructureEncryptionState

      public BackupResourceEncryptionConfig withInfrastructureEncryptionState(InfrastructureEncryptionState infrastructureEncryptionState)
      Set the infrastructureEncryptionState property: The infrastructureEncryptionState property.
      Parameters:
      infrastructureEncryptionState - the infrastructureEncryptionState value to set.
      Returns:
      the BackupResourceEncryptionConfig object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.