Class Win32LobAppPowerShellScriptRequirement

  • All Implemented Interfaces:
    com.github.davidmoten.odata.client.ODataType

    public class Win32LobAppPowerShellScriptRequirement
    extends Win32LobAppRequirement
    implements com.github.davidmoten.odata.client.ODataType
    “Contains PowerShell script properties to detect a Win32 App”
    • Constructor Detail

      • Win32LobAppPowerShellScriptRequirement

        protected Win32LobAppPowerShellScriptRequirement()
    • Method Detail

      • withDetectionType

        public Win32LobAppPowerShellScriptRequirement withDetectionType​(Win32LobAppPowerShellScriptDetectionType detectionType)
        Returns an immutable copy of this with just the detectionType 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 detection type for script output”

        Parameters:
        detectionType - new value of detectionType field (as defined in service metadata)
        Returns:
        immutable copy of this with just the detectionType field changed
      • getDisplayName

        public Optional<String> getDisplayName()
        “The unique display name for this rule”
        Returns:
        property displayName
      • withDisplayName

        public Win32LobAppPowerShellScriptRequirement withDisplayName​(String displayName)
        Returns an immutable copy of 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 unique display name for this rule”

        Parameters:
        displayName - new value of displayName field (as defined in service metadata)
        Returns:
        immutable copy of this with just the displayName field changed
      • getEnforceSignatureCheck

        public Optional<Boolean> getEnforceSignatureCheck()
        “A value indicating whether signature check is enforced”
        Returns:
        property enforceSignatureCheck
      • withEnforceSignatureCheck

        public Win32LobAppPowerShellScriptRequirement withEnforceSignatureCheck​(Boolean enforceSignatureCheck)
        Returns an immutable copy of 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 signature check is enforced”

        Parameters:
        enforceSignatureCheck - new value of enforceSignatureCheck field (as defined in service metadata)
        Returns:
        immutable copy of this with just the enforceSignatureCheck field changed
      • getRunAs32Bit

        public Optional<Boolean> getRunAs32Bit()
        “A value indicating whether this script should run as 32-bit”
        Returns:
        property runAs32Bit
      • withRunAs32Bit

        public Win32LobAppPowerShellScriptRequirement withRunAs32Bit​(Boolean runAs32Bit)
        Returns an immutable copy of 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 this script should run as 32-bit”

        Parameters:
        runAs32Bit - new value of runAs32Bit field (as defined in service metadata)
        Returns:
        immutable copy of this with just the runAs32Bit field changed
      • getRunAsAccount

        public Optional<RunAsAccountType> getRunAsAccount()
        “Indicates the type of execution context the script runs in.”
        Returns:
        property runAsAccount
      • withRunAsAccount

        public Win32LobAppPowerShellScriptRequirement withRunAsAccount​(RunAsAccountType runAsAccount)
        Returns an immutable copy of 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.

        “Indicates the type of execution context the script runs in.”

        Parameters:
        runAsAccount - new value of runAsAccount field (as defined in service metadata)
        Returns:
        immutable copy of this with just the runAsAccount field changed
      • getScriptContent

        public Optional<String> getScriptContent()
        “The base64 encoded script content to detect Win32 Line of Business (LoB) app”
        Returns:
        property scriptContent
      • withScriptContent

        public Win32LobAppPowerShellScriptRequirement withScriptContent​(String scriptContent)
        Returns an immutable copy of 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 to detect Win32 Line of Business (LoB) app”

        Parameters:
        scriptContent - new value of scriptContent field (as defined in service metadata)
        Returns:
        immutable copy of this with just the scriptContent field changed
      • getUnmappedFields

        public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
        Specified by:
        getUnmappedFields in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        getUnmappedFields in class Win32LobAppRequirement
      • postInject

        public void postInject​(boolean addKeysToContextPath)
        Specified by:
        postInject in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        postInject in class Win32LobAppRequirement
      • builderWin32LobAppPowerShellScriptRequirement

        public static Win32LobAppPowerShellScriptRequirement.Builder builderWin32LobAppPowerShellScriptRequirement()
        Returns a builder which is used to create a new instance of this class (given that this class is immutable).
        Returns:
        a new Builder for this class