Class Win32LobAppRegistryRule

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

    public class Win32LobAppRegistryRule
    extends Win32LobAppRule
    implements com.github.davidmoten.odata.client.ODataType
    “A complex type to store registry rule data for a Win32 LOB app.”
    • Constructor Detail

      • Win32LobAppRegistryRule

        protected Win32LobAppRegistryRule()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        odataTypeName in class Win32LobAppRule
      • getCheck32BitOn64System

        public Optional<Boolean> getCheck32BitOn64System()
        “A value indicating whether to search the 32-bit registry on 64-bit systems.”
        Returns:
        property check32BitOn64System
      • withCheck32BitOn64System

        public Win32LobAppRegistryRule withCheck32BitOn64System​(Boolean check32BitOn64System)
        Returns an immutable copy of this with just the check32BitOn64System 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 to search the 32-bit registry on 64-bit systems.”

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

        public Optional<String> getComparisonValue()
        “The registry comparison value.”
        Returns:
        property comparisonValue
      • withComparisonValue

        public Win32LobAppRegistryRule withComparisonValue​(String comparisonValue)
        Returns an immutable copy of 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 registry comparison value.”

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

        public Optional<String> getKeyPath()
        “The full path of the registry entry containing the value to detect.”
        Returns:
        property keyPath
      • withKeyPath

        public Win32LobAppRegistryRule withKeyPath​(String keyPath)
        Returns an immutable copy of this with just the keyPath 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 full path of the registry entry containing the value to detect.”

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

        public Win32LobAppRegistryRule withOperationType​(Win32LobAppRegistryRuleOperationType operationType)
        Returns an immutable copy of 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 registry operation type.”

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

        public Win32LobAppRegistryRule withOperator​(Win32LobAppRuleOperator operator)
        Returns an immutable copy of 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 operator for registry detection.”

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

        public Optional<String> getValueName()
        “The name of the registry value to detect.”
        Returns:
        property valueName
      • withValueName

        public Win32LobAppRegistryRule withValueName​(String valueName)
        Returns an immutable copy of this with just the valueName 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 name of the registry value to detect.”

        Parameters:
        valueName - new value of valueName field (as defined in service metadata)
        Returns:
        immutable copy of this with just the valueName 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 Win32LobAppRule
      • postInject

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

        public static Win32LobAppRegistryRule.Builder builderWin32LobAppRegistryRule()
        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