Class ImportRdbParameters
- java.lang.Object
-
- com.azure.resourcemanager.redis.models.ImportRdbParameters
-
public final class ImportRdbParameters extends Object
Parameters for Redis import operation.
-
-
Constructor Summary
Constructors Constructor Description ImportRdbParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>files()Get the files property: files to import.Stringformat()Get the format property: File format.voidvalidate()Validates the instance.ImportRdbParameterswithFiles(List<String> files)Set the files property: files to import.ImportRdbParameterswithFormat(String format)Set the format property: File format.
-
-
-
Method Detail
-
format
public String format()
Get the format property: File format.- Returns:
- the format value.
-
withFormat
public ImportRdbParameters withFormat(String format)
Set the format property: File format.- Parameters:
format- the format value to set.- Returns:
- the ImportRdbParameters object itself.
-
files
public List<String> files()
Get the files property: files to import.- Returns:
- the files value.
-
withFiles
public ImportRdbParameters withFiles(List<String> files)
Set the files property: files to import.- Parameters:
files- the files value to set.- Returns:
- the ImportRdbParameters object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-