ProtectionMode Class

  • java.lang.Object
    • com.azure.resourcemanager.security.models.ProtectionMode

public final class ProtectionMode

The protection mode of the collection/file types. Exe/Msi/Script are used for Windows, Executable is used for Linux.

Constructor Summary

Constructor Description
ProtectionMode()

Creates an instance of ProtectionMode class.

Method Summary

Modifier and Type Method and Description
EnforcementMode exe()

Get the exe property: The application control policy enforcement/protection mode of the machine group.

EnforcementMode executable()

Get the executable property: The application control policy enforcement/protection mode of the machine group.

EnforcementMode msi()

Get the msi property: The application control policy enforcement/protection mode of the machine group.

EnforcementMode script()

Get the script property: The application control policy enforcement/protection mode of the machine group.

void validate()

Validates the instance.

ProtectionMode withExe(EnforcementMode exe)

Set the exe property: The application control policy enforcement/protection mode of the machine group.

ProtectionMode withExecutable(EnforcementMode executable)

Set the executable property: The application control policy enforcement/protection mode of the machine group.

ProtectionMode withMsi(EnforcementMode msi)

Set the msi property: The application control policy enforcement/protection mode of the machine group.

ProtectionMode withScript(EnforcementMode script)

Set the script property: The application control policy enforcement/protection mode of the machine group.

Methods inherited from java.lang.Object

Constructor Details

ProtectionMode

public ProtectionMode()

Creates an instance of ProtectionMode class.

Method Details

exe

public EnforcementMode exe()

Get the exe property: The application control policy enforcement/protection mode of the machine group.

Returns:

the exe value.

executable

public EnforcementMode executable()

Get the executable property: The application control policy enforcement/protection mode of the machine group.

Returns:

the executable value.

msi

public EnforcementMode msi()

Get the msi property: The application control policy enforcement/protection mode of the machine group.

Returns:

the msi value.

script

public EnforcementMode script()

Get the script property: The application control policy enforcement/protection mode of the machine group.

Returns:

the script value.

validate

public void validate()

Validates the instance.

withExe

public ProtectionMode withExe(EnforcementMode exe)

Set the exe property: The application control policy enforcement/protection mode of the machine group.

Parameters:

exe - the exe value to set.

Returns:

the ProtectionMode object itself.

withExecutable

public ProtectionMode withExecutable(EnforcementMode executable)

Set the executable property: The application control policy enforcement/protection mode of the machine group.

Parameters:

executable - the executable value to set.

Returns:

the ProtectionMode object itself.

withMsi

public ProtectionMode withMsi(EnforcementMode msi)

Set the msi property: The application control policy enforcement/protection mode of the machine group.

Parameters:

msi - the msi value to set.

Returns:

the ProtectionMode object itself.

withScript

public ProtectionMode withScript(EnforcementMode script)

Set the script property: The application control policy enforcement/protection mode of the machine group.

Parameters:

script - the script value to set.

Returns:

the ProtectionMode object itself.

Applies to