Class LinuxProperties

java.lang.Object
com.azure.resourcemanager.automation.models.LinuxProperties
All Implemented Interfaces:
com.azure.json.JsonSerializable<LinuxProperties>

public final class LinuxProperties extends Object implements com.azure.json.JsonSerializable<LinuxProperties>
Linux specific update configuration.
  • Constructor Details

    • LinuxProperties

      public LinuxProperties()
      Creates an instance of LinuxProperties class.
  • Method Details

    • includedPackageClassifications

      public LinuxUpdateClasses 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

      public List<String> excludedPackageNameMasks()
      Get the excludedPackageNameMasks property: packages excluded from the software update configuration.
      Returns:
      the excludedPackageNameMasks value.
    • withExcludedPackageNameMasks

      public LinuxProperties withExcludedPackageNameMasks(List<String> excludedPackageNameMasks)
      Set the excludedPackageNameMasks property: packages excluded from the software update configuration.
      Parameters:
      excludedPackageNameMasks - the excludedPackageNameMasks value to set.
      Returns:
      the LinuxProperties object itself.
    • includedPackageNameMasks

      public List<String> includedPackageNameMasks()
      Get the includedPackageNameMasks property: packages included from the software update configuration.
      Returns:
      the includedPackageNameMasks value.
    • withIncludedPackageNameMasks

      public LinuxProperties withIncludedPackageNameMasks(List<String> includedPackageNameMasks)
      Set the includedPackageNameMasks property: packages included from the software update configuration.
      Parameters:
      includedPackageNameMasks - the includedPackageNameMasks value to set.
      Returns:
      the LinuxProperties object itself.
    • rebootSetting

      public String rebootSetting()
      Get the rebootSetting property: Reboot setting for the software update configuration.
      Returns:
      the rebootSetting value.
    • withRebootSetting

      public LinuxProperties withRebootSetting(String rebootSetting)
      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.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<LinuxProperties>
      Throws:
      IOException
    • fromJson

      public static LinuxProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of LinuxProperties from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of LinuxProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the LinuxProperties.