InputLinuxParameters Class

  • java.lang.Object
    • com.azure.resourcemanager.maintenance.models.InputLinuxParameters

public final class InputLinuxParameters

Input properties for patching a Linux machine.

Constructor Summary

Constructor Description
InputLinuxParameters()

Creates an instance of InputLinuxParameters class.

Method Summary

Modifier and Type Method and Description
List<String> classificationsToInclude()

Get the classificationsToInclude property: Classification category of patches to be patched.

List<String> packageNameMasksToExclude()

Get the packageNameMasksToExclude property: Package names to be excluded for patching.

List<String> packageNameMasksToInclude()

Get the packageNameMasksToInclude property: Package names to be included for patching.

void validate()

Validates the instance.

InputLinuxParameters withClassificationsToInclude(List<String> classificationsToInclude)

Set the classificationsToInclude property: Classification category of patches to be patched.

InputLinuxParameters withPackageNameMasksToExclude(List<String> packageNameMasksToExclude)

Set the packageNameMasksToExclude property: Package names to be excluded for patching.

InputLinuxParameters withPackageNameMasksToInclude(List<String> packageNameMasksToInclude)

Set the packageNameMasksToInclude property: Package names to be included for patching.

Methods inherited from java.lang.Object

Constructor Details

InputLinuxParameters

public InputLinuxParameters()

Creates an instance of InputLinuxParameters class.

Method Details

classificationsToInclude

public List<String> classificationsToInclude()

Get the classificationsToInclude property: Classification category of patches to be patched.

Returns:

the classificationsToInclude value.

packageNameMasksToExclude

public List<String> packageNameMasksToExclude()

Get the packageNameMasksToExclude property: Package names to be excluded for patching.

Returns:

the packageNameMasksToExclude value.

packageNameMasksToInclude

public List<String> packageNameMasksToInclude()

Get the packageNameMasksToInclude property: Package names to be included for patching.

Returns:

the packageNameMasksToInclude value.

validate

public void validate()

Validates the instance.

withClassificationsToInclude

public InputLinuxParameters withClassificationsToInclude(List<String> classificationsToInclude)

Set the classificationsToInclude property: Classification category of patches to be patched.

Parameters:

classificationsToInclude - the classificationsToInclude value to set.

Returns:

the InputLinuxParameters object itself.

withPackageNameMasksToExclude

public InputLinuxParameters withPackageNameMasksToExclude(List<String> packageNameMasksToExclude)

Set the packageNameMasksToExclude property: Package names to be excluded for patching.

Parameters:

packageNameMasksToExclude - the packageNameMasksToExclude value to set.

Returns:

the InputLinuxParameters object itself.

withPackageNameMasksToInclude

public InputLinuxParameters withPackageNameMasksToInclude(List<String> packageNameMasksToInclude)

Set the packageNameMasksToInclude property: Package names to be included for patching.

Parameters:

packageNameMasksToInclude - the packageNameMasksToInclude value to set.

Returns:

the InputLinuxParameters object itself.

Applies to