Class ImportRdbParameters
java.lang.Object
com.azure.resourcemanager.redis.models.ImportRdbParameters
Parameters for Redis import operation.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfiles()Get the files property: files to import.format()Get the format property: File format.Get the preferredDataArchiveAuthMethod property: Preferred auth method to communicate to storage account used for data archive, specify SAS or ManagedIdentity, default value is SAS.voidvalidate()Validates the instance.Set the files property: files to import.withFormat(String format) Set the format property: File format.withPreferredDataArchiveAuthMethod(String preferredDataArchiveAuthMethod) Set the preferredDataArchiveAuthMethod property: Preferred auth method to communicate to storage account used for data archive, specify SAS or ManagedIdentity, default value is SAS.
-
Constructor Details
-
ImportRdbParameters
public ImportRdbParameters()Creates an instance of ImportRdbParameters class.
-
-
Method Details
-
format
Get the format property: File format.- Returns:
- the format value.
-
withFormat
Set the format property: File format.- Parameters:
format- the format value to set.- Returns:
- the ImportRdbParameters object itself.
-
files
Get the files property: files to import.- Returns:
- the files value.
-
withFiles
Set the files property: files to import.- Parameters:
files- the files value to set.- Returns:
- the ImportRdbParameters object itself.
-
preferredDataArchiveAuthMethod
Get the preferredDataArchiveAuthMethod property: Preferred auth method to communicate to storage account used for data archive, specify SAS or ManagedIdentity, default value is SAS.- Returns:
- the preferredDataArchiveAuthMethod value.
-
withPreferredDataArchiveAuthMethod
public ImportRdbParameters withPreferredDataArchiveAuthMethod(String preferredDataArchiveAuthMethod) Set the preferredDataArchiveAuthMethod property: Preferred auth method to communicate to storage account used for data archive, specify SAS or ManagedIdentity, default value is SAS.- Parameters:
preferredDataArchiveAuthMethod- the preferredDataArchiveAuthMethod value to set.- Returns:
- the ImportRdbParameters object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-