Class LinuxProperties
java.lang.Object
com.azure.resourcemanager.automation.models.LinuxProperties
Linux specific update configuration.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the excludedPackageNameMasks property: packages excluded from the software update configuration.Get the includedPackageClassifications property: Update classifications included in the software update configuration.Get the includedPackageNameMasks property: packages included from the software update configuration.Get the rebootSetting property: Reboot setting for the software update configuration.void
validate()
Validates the instance.withExcludedPackageNameMasks
(List<String> excludedPackageNameMasks) Set the excludedPackageNameMasks property: packages excluded from the software update configuration.withIncludedPackageClassifications
(LinuxUpdateClasses includedPackageClassifications) Set the includedPackageClassifications property: Update classifications included in the software update configuration.withIncludedPackageNameMasks
(List<String> includedPackageNameMasks) Set the includedPackageNameMasks property: packages included from the software update configuration.withRebootSetting
(String rebootSetting) Set the rebootSetting property: Reboot setting for the software update configuration.
-
Constructor Details
-
LinuxProperties
public LinuxProperties()
-
-
Method Details
-
includedPackageClassifications
Get the includedPackageClassifications property: Update classifications included in the software update configuration.- Returns:
- the includedPackageClassifications value.
-
withIncludedPackageClassifications
public LinuxProperties withIncludedPackageClassifications(LinuxUpdateClasses includedPackageClassifications) Set the includedPackageClassifications property: Update classifications included in the software update configuration.- Parameters:
includedPackageClassifications
- the includedPackageClassifications value to set.- Returns:
- the LinuxProperties object itself.
-
excludedPackageNameMasks
Get the excludedPackageNameMasks property: packages excluded from the software update configuration.- Returns:
- the excludedPackageNameMasks value.
-
withExcludedPackageNameMasks
Set the excludedPackageNameMasks property: packages excluded from the software update configuration.- Parameters:
excludedPackageNameMasks
- the excludedPackageNameMasks value to set.- Returns:
- the LinuxProperties object itself.
-
includedPackageNameMasks
Get the includedPackageNameMasks property: packages included from the software update configuration.- Returns:
- the includedPackageNameMasks value.
-
withIncludedPackageNameMasks
Set the includedPackageNameMasks property: packages included from the software update configuration.- Parameters:
includedPackageNameMasks
- the includedPackageNameMasks value to set.- Returns:
- the LinuxProperties 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 LinuxProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-