public final class MaintenanceWindowOptionsProperties extends Object
Constructor and Description |
---|
MaintenanceWindowOptionsProperties() |
Modifier and Type | Method and Description |
---|---|
Boolean |
allowMultipleMaintenanceWindowsPerCycle()
Get the allowMultipleMaintenanceWindowsPerCycle property: Whether we allow multiple maintenance windows per
cycle.
|
Integer |
defaultDurationInMinutes()
Get the defaultDurationInMinutes property: Default duration for maintenance window.
|
Boolean |
isEnabled()
Get the isEnabled property: Whether maintenance windows are enabled for the database.
|
List<MaintenanceWindowTimeRange> |
maintenanceWindowCycles()
Get the maintenanceWindowCycles property: Available maintenance cycles e.g.
|
Integer |
minCycles()
Get the minCycles property: Minimum number of maintenance windows cycles to be set on the database.
|
Integer |
minDurationInMinutes()
Get the minDurationInMinutes property: Minimum duration of maintenance window.
|
Integer |
timeGranularityInMinutes()
Get the timeGranularityInMinutes property: Time granularity in minutes for maintenance windows.
|
void |
validate()
Validates the instance.
|
MaintenanceWindowOptionsProperties |
withAllowMultipleMaintenanceWindowsPerCycle(Boolean allowMultipleMaintenanceWindowsPerCycle)
Set the allowMultipleMaintenanceWindowsPerCycle property: Whether we allow multiple maintenance windows per
cycle.
|
MaintenanceWindowOptionsProperties |
withDefaultDurationInMinutes(Integer defaultDurationInMinutes)
Set the defaultDurationInMinutes property: Default duration for maintenance window.
|
MaintenanceWindowOptionsProperties |
withIsEnabled(Boolean isEnabled)
Set the isEnabled property: Whether maintenance windows are enabled for the database.
|
MaintenanceWindowOptionsProperties |
withMaintenanceWindowCycles(List<MaintenanceWindowTimeRange> maintenanceWindowCycles)
Set the maintenanceWindowCycles property: Available maintenance cycles e.g.
|
MaintenanceWindowOptionsProperties |
withMinCycles(Integer minCycles)
Set the minCycles property: Minimum number of maintenance windows cycles to be set on the database.
|
MaintenanceWindowOptionsProperties |
withMinDurationInMinutes(Integer minDurationInMinutes)
Set the minDurationInMinutes property: Minimum duration of maintenance window.
|
MaintenanceWindowOptionsProperties |
withTimeGranularityInMinutes(Integer timeGranularityInMinutes)
Set the timeGranularityInMinutes property: Time granularity in minutes for maintenance windows.
|
public Boolean isEnabled()
public MaintenanceWindowOptionsProperties withIsEnabled(Boolean isEnabled)
isEnabled
- the isEnabled value to set.public List<MaintenanceWindowTimeRange> maintenanceWindowCycles()
public MaintenanceWindowOptionsProperties withMaintenanceWindowCycles(List<MaintenanceWindowTimeRange> maintenanceWindowCycles)
maintenanceWindowCycles
- the maintenanceWindowCycles value to set.public Integer minDurationInMinutes()
public MaintenanceWindowOptionsProperties withMinDurationInMinutes(Integer minDurationInMinutes)
minDurationInMinutes
- the minDurationInMinutes value to set.public Integer defaultDurationInMinutes()
public MaintenanceWindowOptionsProperties withDefaultDurationInMinutes(Integer defaultDurationInMinutes)
defaultDurationInMinutes
- the defaultDurationInMinutes value to set.public Integer minCycles()
public MaintenanceWindowOptionsProperties withMinCycles(Integer minCycles)
minCycles
- the minCycles value to set.public Integer timeGranularityInMinutes()
public MaintenanceWindowOptionsProperties withTimeGranularityInMinutes(Integer timeGranularityInMinutes)
timeGranularityInMinutes
- the timeGranularityInMinutes value to set.public Boolean allowMultipleMaintenanceWindowsPerCycle()
public MaintenanceWindowOptionsProperties withAllowMultipleMaintenanceWindowsPerCycle(Boolean allowMultipleMaintenanceWindowsPerCycle)
allowMultipleMaintenanceWindowsPerCycle
- the allowMultipleMaintenanceWindowsPerCycle value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.