Package odata.msgraph.client.complex
Class Win32LobAppPowerShellScriptRule.Builder
- java.lang.Object
-
- odata.msgraph.client.complex.Win32LobAppPowerShellScriptRule.Builder
-
- Enclosing class:
- Win32LobAppPowerShellScriptRule
public static final class Win32LobAppPowerShellScriptRule.Builder extends Object
-
-
Method Summary
-
-
-
Method Detail
-
ruleType
public Win32LobAppPowerShellScriptRule.Builder ruleType(Win32LobAppRuleType ruleType)
-
comparisonValue
public Win32LobAppPowerShellScriptRule.Builder comparisonValue(String comparisonValue)
“The script output comparison value. Do not specify a value if the rule is used for detection.”- Parameters:
comparisonValue- value ofcomparisonValueproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
displayName
public Win32LobAppPowerShellScriptRule.Builder displayName(String displayName)
“The display name for the rule. Do not specify this value if the rule is used for detection.”- Parameters:
displayName- value ofdisplayNameproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
enforceSignatureCheck
public Win32LobAppPowerShellScriptRule.Builder enforceSignatureCheck(Boolean enforceSignatureCheck)
“A value indicating whether a signature check is enforced.”- Parameters:
enforceSignatureCheck- value ofenforceSignatureCheckproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
operationType
public Win32LobAppPowerShellScriptRule.Builder operationType(Win32LobAppPowerShellScriptRuleOperationType operationType)
“The script output comparison operation type. Use NotConfigured (the default value) if the rule is used for detection.”- Parameters:
operationType- value ofoperationTypeproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
operator
public Win32LobAppPowerShellScriptRule.Builder operator(Win32LobAppRuleOperator operator)
“The script output operator. Use NotConfigured (the default value) if the rule is used for detection.”- Parameters:
operator- value ofoperatorproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
runAs32Bit
public Win32LobAppPowerShellScriptRule.Builder runAs32Bit(Boolean runAs32Bit)
“A value indicating whether the script should run as 32-bit.”- Parameters:
runAs32Bit- value ofrunAs32Bitproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
runAsAccount
public Win32LobAppPowerShellScriptRule.Builder runAsAccount(RunAsAccountType runAsAccount)
“The execution context of the script. Do not specify this value if the rule is used for detection. Script detection rules will run in the same context as the associated app install context.”- Parameters:
runAsAccount- value ofrunAsAccountproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
scriptContent
public Win32LobAppPowerShellScriptRule.Builder scriptContent(String scriptContent)
“The base64-encoded script content.”- Parameters:
scriptContent- value ofscriptContentproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
build
public Win32LobAppPowerShellScriptRule build()
-
-