Class AmlFilesystemHsmSettings
java.lang.Object
com.azure.resourcemanager.storagecache.models.AmlFilesystemHsmSettings
AML file system HSM settings.
-
Constructor Summary
ConstructorDescriptionCreates an instance of AmlFilesystemHsmSettings class. -
Method Summary
Modifier and TypeMethodDescriptionGet the container property: Resource ID of storage container used for hydrating the namespace and archiving from the namespace.Get the importPrefix property: Only blobs in the non-logging container that start with this path/prefix get hydrated into the cluster namespace.Get the loggingContainer property: Resource ID of storage container used for logging events and errors.void
validate()
Validates the instance.withContainer
(String container) Set the container property: Resource ID of storage container used for hydrating the namespace and archiving from the namespace.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.withLoggingContainer
(String loggingContainer) Set the loggingContainer property: Resource ID of storage container used for logging events and errors.
-
Constructor Details
-
AmlFilesystemHsmSettings
public AmlFilesystemHsmSettings()Creates an instance of AmlFilesystemHsmSettings class.
-
-
Method Details
-
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
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
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
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
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
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.
-