Class ExportRdbParameters
- java.lang.Object
-
- com.azure.resourcemanager.redis.models.ExportRdbParameters
-
public final class ExportRdbParameters extends Object
Parameters for Redis export operation.
-
-
Constructor Summary
Constructors Constructor Description ExportRdbParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringcontainer()Get the container property: Container name to export to.Stringformat()Get the format property: File format.Stringprefix()Get the prefix property: Prefix to use for exported files.voidvalidate()Validates the instance.ExportRdbParameterswithContainer(String container)Set the container property: Container name to export to.ExportRdbParameterswithFormat(String format)Set the format property: File format.ExportRdbParameterswithPrefix(String prefix)Set the prefix property: Prefix to use for exported files.
-
-
-
Method Detail
-
format
public String format()
Get the format property: File format.- Returns:
- the format value.
-
withFormat
public ExportRdbParameters withFormat(String format)
Set the format property: File format.- Parameters:
format- the format value to set.- Returns:
- the ExportRdbParameters object itself.
-
prefix
public String prefix()
Get the prefix property: Prefix to use for exported files.- Returns:
- the prefix value.
-
withPrefix
public ExportRdbParameters withPrefix(String prefix)
Set the prefix property: Prefix to use for exported files.- Parameters:
prefix- the prefix value to set.- Returns:
- the ExportRdbParameters object itself.
-
container
public String container()
Get the container property: Container name to export to.- Returns:
- the container value.
-
withContainer
public ExportRdbParameters withContainer(String container)
Set the container property: Container name to export to.- Parameters:
container- the container value to set.- Returns:
- the ExportRdbParameters object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-