Class WindowsProperties
java.lang.Object
com.azure.resourcemanager.automation.models.WindowsProperties
Windows specific update configuration.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the excludedKbNumbers property: KB numbers excluded from the software update configuration.Get the includedKbNumbers property: KB numbers included from the software update configuration.Get the includedUpdateClassifications property: Update classification included in the software update configuration.Get the rebootSetting property: Reboot setting for the software update configuration.void
validate()
Validates the instance.withExcludedKbNumbers
(List<String> excludedKbNumbers) Set the excludedKbNumbers property: KB numbers excluded from the software update configuration.withIncludedKbNumbers
(List<String> includedKbNumbers) Set the includedKbNumbers property: KB numbers included from the software update configuration.withIncludedUpdateClassifications
(WindowsUpdateClasses includedUpdateClassifications) Set the includedUpdateClassifications property: Update classification included in the software update configuration.withRebootSetting
(String rebootSetting) Set the rebootSetting property: Reboot setting for the software update configuration.
-
Constructor Details
-
WindowsProperties
public WindowsProperties()
-
-
Method Details
-
includedUpdateClassifications
Get the includedUpdateClassifications property: Update classification included in the software update configuration. A comma separated string with required values.- Returns:
- the includedUpdateClassifications value.
-
withIncludedUpdateClassifications
public WindowsProperties withIncludedUpdateClassifications(WindowsUpdateClasses includedUpdateClassifications) Set the includedUpdateClassifications property: Update classification included in the software update configuration. A comma separated string with required values.- Parameters:
includedUpdateClassifications
- the includedUpdateClassifications value to set.- Returns:
- the WindowsProperties object itself.
-
excludedKbNumbers
Get the excludedKbNumbers property: KB numbers excluded from the software update configuration.- Returns:
- the excludedKbNumbers value.
-
withExcludedKbNumbers
Set the excludedKbNumbers property: KB numbers excluded from the software update configuration.- Parameters:
excludedKbNumbers
- the excludedKbNumbers value to set.- Returns:
- the WindowsProperties object itself.
-
includedKbNumbers
Get the includedKbNumbers property: KB numbers included from the software update configuration.- Returns:
- the includedKbNumbers value.
-
withIncludedKbNumbers
Set the includedKbNumbers property: KB numbers included from the software update configuration.- Parameters:
includedKbNumbers
- the includedKbNumbers value to set.- Returns:
- the WindowsProperties object itself.
-
rebootSetting
Get the rebootSetting property: Reboot setting for the software update configuration.- Returns:
- the rebootSetting value.
-
withRebootSetting
Set the rebootSetting property: Reboot setting for the software update configuration.- Parameters:
rebootSetting
- the rebootSetting value to set.- Returns:
- the WindowsProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-