Class Settings
- java.lang.Object
-
- com.azure.resourcemanager.recoveryservicesbackup.models.Settings
-
public final class Settings extends Object
Common settings field for backup management.
-
-
Constructor Summary
Constructors Constructor Description Settings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
isCompression()
Get the isCompression property: Workload compression flag.Boolean
issqlcompression()
Get the issqlcompression property: SQL compression flag.String
timeZone()
Get the timeZone property: TimeZone optional input as string.void
validate()
Validates the instance.Settings
withIsCompression(Boolean isCompression)
Set the isCompression property: Workload compression flag.Settings
withIssqlcompression(Boolean issqlcompression)
Set the issqlcompression property: SQL compression flag.Settings
withTimeZone(String timeZone)
Set the timeZone property: TimeZone optional input as string.
-
-
-
Method Detail
-
timeZone
public String timeZone()
Get the timeZone property: TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".- Returns:
- the timeZone value.
-
withTimeZone
public Settings withTimeZone(String timeZone)
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
public Boolean issqlcompression()
Get the issqlcompression property: SQL compression flag.- Returns:
- the issqlcompression value.
-
withIssqlcompression
public Settings withIssqlcompression(Boolean issqlcompression)
Set the issqlcompression property: SQL compression flag.- Parameters:
issqlcompression
- the issqlcompression value to set.- Returns:
- the Settings object itself.
-
isCompression
public Boolean 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
public Settings withIsCompression(Boolean isCompression)
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.
-
-