public class Win32LobAppPowerShellScriptRule extends Win32LobAppRule implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
Win32LobAppPowerShellScriptRule.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
comparisonValue |
protected String |
displayName |
protected Boolean |
enforceSignatureCheck |
protected Win32LobPowerShellScriptRuleOperationType |
operationType |
protected Win32LobAppRuleOperator |
operator |
protected Boolean |
runAs32Bit |
protected RunAsAccountType |
runAsAccount |
protected String |
scriptContent |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
contextPath, odataType, ruleType| Modifier | Constructor and Description |
|---|---|
protected |
Win32LobAppPowerShellScriptRule() |
| Modifier and Type | Method and Description |
|---|---|
static Win32LobAppPowerShellScriptRule.Builder |
builderWin32LobAppPowerShellScriptRule()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<String> |
getComparisonValue()
“The script output comparison value.
|
Optional<String> |
getDisplayName()
“The display name for the rule.
|
Optional<Boolean> |
getEnforceSignatureCheck()
“A value indicating whether a signature check is enforced.”
|
Optional<Win32LobPowerShellScriptRuleOperationType> |
getOperationType()
“The script output comparison operation type.
|
Optional<Win32LobAppRuleOperator> |
getOperator()
“The script output operator.
|
Optional<Boolean> |
getRunAs32Bit()
“A value indicating whether the script should run as 32-bit.”
|
Optional<RunAsAccountType> |
getRunAsAccount()
“The execution context of the script.
|
Optional<String> |
getScriptContent()
“The base64-encoded script content.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
Win32LobAppPowerShellScriptRule |
withComparisonValue(String comparisonValue)
Returns an immutable copy of
this with just the comparisonValue
field changed. |
Win32LobAppPowerShellScriptRule |
withDisplayName(String displayName)
Returns an immutable copy of
this with just the displayName
field changed. |
Win32LobAppPowerShellScriptRule |
withEnforceSignatureCheck(Boolean enforceSignatureCheck)
Returns an immutable copy of
this with just the enforceSignatureCheck field changed. |
Win32LobAppPowerShellScriptRule |
withOperationType(Win32LobPowerShellScriptRuleOperationType operationType)
Returns an immutable copy of
this with just the operationType
field changed. |
Win32LobAppPowerShellScriptRule |
withOperator(Win32LobAppRuleOperator operator)
Returns an immutable copy of
this with just the operator field
changed. |
Win32LobAppPowerShellScriptRule |
withRunAs32Bit(Boolean runAs32Bit)
Returns an immutable copy of
this with just the runAs32Bit field
changed. |
Win32LobAppPowerShellScriptRule |
withRunAsAccount(RunAsAccountType runAsAccount)
Returns an immutable copy of
this with just the runAsAccount
field changed. |
Win32LobAppPowerShellScriptRule |
withScriptContent(String scriptContent)
Returns an immutable copy of
this with just the scriptContent
field changed. |
getRuleType, withRuleTypeprotected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String displayName
protected Boolean enforceSignatureCheck
protected Boolean runAs32Bit
protected RunAsAccountType runAsAccount
protected String scriptContent
protected Win32LobPowerShellScriptRuleOperationType operationType
protected Win32LobAppRuleOperator operator
protected String comparisonValue
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Win32LobAppRulepublic Optional<String> getDisplayName()
public Win32LobAppPowerShellScriptRule withDisplayName(String displayName)
this with just the displayName
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“The display name for the rule. Do not specify this value if the rule is used for detection.”
displayName - new value of displayName field (as defined in service metadata)this with just the displayName field changedpublic Optional<Boolean> getEnforceSignatureCheck()
public Win32LobAppPowerShellScriptRule withEnforceSignatureCheck(Boolean enforceSignatureCheck)
this with just the enforceSignatureCheck field changed. Field description below. The field name is
also added to an internal map of changed fields in the returned object so that
when this.patch() is called (if available)on the returned object only
the changed fields are submitted.
“A value indicating whether a signature check is enforced.”
enforceSignatureCheck - new value of enforceSignatureCheck field (as defined in service metadata)this with just the enforceSignatureCheck field changedpublic Optional<Boolean> getRunAs32Bit()
public Win32LobAppPowerShellScriptRule withRunAs32Bit(Boolean runAs32Bit)
this with just the runAs32Bit field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“A value indicating whether the script should run as 32-bit.”
runAs32Bit - new value of runAs32Bit field (as defined in service metadata)this with just the runAs32Bit field changedpublic Optional<RunAsAccountType> getRunAsAccount()
public Win32LobAppPowerShellScriptRule withRunAsAccount(RunAsAccountType runAsAccount)
this with just the runAsAccount
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“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.”
runAsAccount - new value of runAsAccount field (as defined in service metadata)this with just the runAsAccount field changedpublic Optional<String> getScriptContent()
public Win32LobAppPowerShellScriptRule withScriptContent(String scriptContent)
this with just the scriptContent
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“The base64-encoded script content.”
scriptContent - new value of scriptContent field (as defined in service metadata)this with just the scriptContent field changedpublic Optional<Win32LobPowerShellScriptRuleOperationType> getOperationType()
public Win32LobAppPowerShellScriptRule withOperationType(Win32LobPowerShellScriptRuleOperationType operationType)
this with just the operationType
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“The script output comparison operation type. Use NotConfigured (the default value) if the rule is used for detection.”
operationType - new value of operationType field (as defined in service metadata)this with just the operationType field changedpublic Optional<Win32LobAppRuleOperator> getOperator()
public Win32LobAppPowerShellScriptRule withOperator(Win32LobAppRuleOperator operator)
this with just the operator field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“The script output operator. Use NotConfigured (the default value) if the rule is used for detection.”
operator - new value of operator field (as defined in service metadata)this with just the operator field changedpublic Optional<String> getComparisonValue()
public Win32LobAppPowerShellScriptRule withComparisonValue(String comparisonValue)
this with just the comparisonValue
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“The script output comparison value. Do not specify a value if the rule is used for detection.”
comparisonValue - new value of comparisonValue field (as defined in service metadata)this with just the comparisonValue field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Win32LobAppRulepublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class Win32LobAppRulepublic static Win32LobAppPowerShellScriptRule.Builder builderWin32LobAppPowerShellScriptRule()
public String toString()
toString in class Win32LobAppRuleCopyright © 2018–2020. All rights reserved.