Class LinuxParameters


  • public final class LinuxParameters
    extends Object
    Input for InstallPatches on a Linux VM, as directly received by the API.
    • Constructor Detail

      • LinuxParameters

        public LinuxParameters()
    • Method Detail

      • classificationsToInclude

        public List<VMGuestPatchClassificationLinux> classificationsToInclude()
        Get the classificationsToInclude property: The update classifications to select when installing patches for Linux.
        Returns:
        the classificationsToInclude value.
      • withClassificationsToInclude

        public LinuxParameters withClassificationsToInclude​(List<VMGuestPatchClassificationLinux> classificationsToInclude)
        Set the classificationsToInclude property: The update classifications to select when installing patches for Linux.
        Parameters:
        classificationsToInclude - the classificationsToInclude value to set.
        Returns:
        the LinuxParameters object itself.
      • packageNameMasksToInclude

        public List<String> packageNameMasksToInclude()
        Get the packageNameMasksToInclude property: packages to include in the patch operation. Format: packageName_packageVersion.
        Returns:
        the packageNameMasksToInclude value.
      • withPackageNameMasksToInclude

        public LinuxParameters withPackageNameMasksToInclude​(List<String> packageNameMasksToInclude)
        Set the packageNameMasksToInclude property: packages to include in the patch operation. Format: packageName_packageVersion.
        Parameters:
        packageNameMasksToInclude - the packageNameMasksToInclude value to set.
        Returns:
        the LinuxParameters object itself.
      • packageNameMasksToExclude

        public List<String> packageNameMasksToExclude()
        Get the packageNameMasksToExclude property: packages to exclude in the patch operation. Format: packageName_packageVersion.
        Returns:
        the packageNameMasksToExclude value.
      • withPackageNameMasksToExclude

        public LinuxParameters withPackageNameMasksToExclude​(List<String> packageNameMasksToExclude)
        Set the packageNameMasksToExclude property: packages to exclude in the patch operation. Format: packageName_packageVersion.
        Parameters:
        packageNameMasksToExclude - the packageNameMasksToExclude value to set.
        Returns:
        the LinuxParameters object itself.
      • maintenanceRunId

        public String maintenanceRunId()
        Get the maintenanceRunId property: This is used as a maintenance run identifier for Auto VM Guest Patching in Linux.
        Returns:
        the maintenanceRunId value.
      • withMaintenanceRunId

        public LinuxParameters withMaintenanceRunId​(String maintenanceRunId)
        Set the maintenanceRunId property: This is used as a maintenance run identifier for Auto VM Guest Patching in Linux.
        Parameters:
        maintenanceRunId - the maintenanceRunId value to set.
        Returns:
        the LinuxParameters object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.