Class Settings
java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.Settings
Common settings field for backup management.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the isCompression property: Workload compression flag.Get the issqlcompression property: SQL compression flag.timeZone()
Get the timeZone property: TimeZone optional input as string.void
validate()
Validates the instance.withIsCompression
(Boolean isCompression) Set the isCompression property: Workload compression flag.withIssqlcompression
(Boolean issqlcompression) Set the issqlcompression property: SQL compression flag.withTimeZone
(String timeZone) Set the timeZone property: TimeZone optional input as string.
-
Constructor Details
-
Settings
public Settings()Creates an instance of Settings class.
-
-
Method Details
-
timeZone
Get the timeZone property: TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".- Returns:
- the timeZone value.
-
withTimeZone
Set the timeZone property: TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".- Parameters:
timeZone
- the timeZone value to set.- Returns:
- the Settings object itself.
-
issqlcompression
Get the issqlcompression property: SQL compression flag.- Returns:
- the issqlcompression value.
-
withIssqlcompression
Set the issqlcompression property: SQL compression flag.- Parameters:
issqlcompression
- the issqlcompression value to set.- Returns:
- the Settings object itself.
-
isCompression
Get the isCompression property: Workload compression flag. This has been added so that 'isSqlCompression' will be deprecated once clients upgrade to consider this flag.- Returns:
- the isCompression value.
-
withIsCompression
Set the isCompression property: Workload compression flag. This has been added so that 'isSqlCompression' will be deprecated once clients upgrade to consider this flag.- Parameters:
isCompression
- the isCompression value to set.- Returns:
- the Settings object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-