Class AmlFilesystemHsmSettings

java.lang.Object
com.azure.resourcemanager.storagecache.models.AmlFilesystemHsmSettings

public final class AmlFilesystemHsmSettings extends Object
AML file system HSM settings.
  • Constructor Details

    • AmlFilesystemHsmSettings

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

    • container

      public String container()
      Get the container property: Resource ID of storage container used for hydrating the namespace and archiving from the namespace. The resource provider must have permission to create SAS tokens on the storage account.
      Returns:
      the container value.
    • withContainer

      public AmlFilesystemHsmSettings withContainer(String container)
      Set the container property: Resource ID of storage container used for hydrating the namespace and archiving from the namespace. The resource provider must have permission to create SAS tokens on the storage account.
      Parameters:
      container - the container value to set.
      Returns:
      the AmlFilesystemHsmSettings object itself.
    • loggingContainer

      public String loggingContainer()
      Get the loggingContainer property: Resource ID of storage container used for logging events and errors. Must be a separate container in the same storage account as the hydration and archive container. The resource provider must have permission to create SAS tokens on the storage account.
      Returns:
      the loggingContainer value.
    • withLoggingContainer

      public AmlFilesystemHsmSettings withLoggingContainer(String loggingContainer)
      Set the loggingContainer property: Resource ID of storage container used for logging events and errors. Must be a separate container in the same storage account as the hydration and archive container. The resource provider must have permission to create SAS tokens on the storage account.
      Parameters:
      loggingContainer - the loggingContainer value to set.
      Returns:
      the AmlFilesystemHsmSettings object itself.
    • importPrefix

      public String importPrefix()
      Get the importPrefix property: Only blobs in the non-logging container that start with this path/prefix get hydrated into the cluster namespace.
      Returns:
      the importPrefix value.
    • withImportPrefix

      public AmlFilesystemHsmSettings withImportPrefix(String importPrefix)
      Set the importPrefix property: Only blobs in the non-logging container that start with this path/prefix get hydrated into the cluster namespace.
      Parameters:
      importPrefix - the importPrefix value to set.
      Returns:
      the AmlFilesystemHsmSettings object itself.
    • validate

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