Class Win32LobAppPowerShellScriptDetection

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

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

      • enforceSignatureCheck

        protected Boolean enforceSignatureCheck
      • runAs32Bit

        protected Boolean runAs32Bit
      • scriptContent

        protected String scriptContent
    • Constructor Detail

      • Win32LobAppPowerShellScriptDetection

        protected Win32LobAppPowerShellScriptDetection()
    • Method Detail

      • getEnforceSignatureCheck

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

        public Win32LobAppPowerShellScriptDetection 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 Win32LobAppPowerShellScriptDetection 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
      • getScriptContent

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

        public Win32LobAppPowerShellScriptDetection 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 Win32LobAppDetection
      • postInject

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

        public static Win32LobAppPowerShellScriptDetection.Builder builderWin32LobAppPowerShellScriptDetection()
        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