Package odata.msgraph.client.complex
Class Win32LobAppRegistryRule
- java.lang.Object
-
- odata.msgraph.client.complex.Win32LobAppRule
-
- odata.msgraph.client.complex.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.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWin32LobAppRegistryRule.Builder
-
Field Summary
Fields Modifier and Type Field Description protected Booleancheck32BitOn64Systemprotected StringcomparisonValueprotected StringkeyPathprotected Win32LobAppRegistryRuleOperationTypeoperationTypeprotected Win32LobAppRuleOperatoroperatorprotected StringvalueName-
Fields inherited from class odata.msgraph.client.complex.Win32LobAppRule
contextPath, odataType, ruleType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedWin32LobAppRegistryRule()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Win32LobAppRegistryRule.BuilderbuilderWin32LobAppRegistryRule()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<Boolean>getCheck32BitOn64System()“A value indicating whether to search the 32-bit registry on 64-bit systems.”Optional<String>getComparisonValue()“The registry comparison value.”Optional<String>getKeyPath()“The full path of the registry entry containing the value to detect.”Optional<Win32LobAppRegistryRuleOperationType>getOperationType()“The registry operation type.”Optional<Win32LobAppRuleOperator>getOperator()“The operator for registry detection.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<String>getValueName()“The name of the registry value to detect.”StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()Win32LobAppRegistryRulewithCheck32BitOn64System(Boolean check32BitOn64System)Returns an immutable copy ofthiswith just thecheck32BitOn64Systemfield changed.Win32LobAppRegistryRulewithComparisonValue(String comparisonValue)Returns an immutable copy ofthiswith just thecomparisonValuefield changed.Win32LobAppRegistryRulewithKeyPath(String keyPath)Returns an immutable copy ofthiswith just thekeyPathfield changed.Win32LobAppRegistryRulewithOperationType(Win32LobAppRegistryRuleOperationType operationType)Returns an immutable copy ofthiswith just theoperationTypefield changed.Win32LobAppRegistryRulewithOperator(Win32LobAppRuleOperator operator)Returns an immutable copy ofthiswith just theoperatorfield changed.Win32LobAppRegistryRulewithUnmappedField(String name, Object value)Win32LobAppRegistryRulewithValueName(String valueName)Returns an immutable copy ofthiswith just thevalueNamefield changed.-
Methods inherited from class odata.msgraph.client.complex.Win32LobAppRule
getRuleType, withRuleType
-
-
-
-
Field Detail
-
check32BitOn64System
protected Boolean check32BitOn64System
-
comparisonValue
protected String comparisonValue
-
keyPath
protected String keyPath
-
operationType
protected Win32LobAppRegistryRuleOperationType operationType
-
operator
protected Win32LobAppRuleOperator operator
-
valueName
protected String valueName
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classWin32LobAppRule
-
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 ofthiswith just thecheck32BitOn64Systemfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 ofcheck32BitOn64Systemfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecheck32BitOn64Systemfield changed
-
getComparisonValue
public Optional<String> getComparisonValue()
“The registry comparison value.”- Returns:
- property comparisonValue
-
withComparisonValue
public Win32LobAppRegistryRule withComparisonValue(String comparisonValue)
Returns an immutable copy ofthiswith just thecomparisonValuefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“The registry comparison value.”
- Parameters:
comparisonValue- new value ofcomparisonValuefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecomparisonValuefield 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 ofthiswith just thekeyPathfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 ofkeyPathfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thekeyPathfield changed
-
getOperationType
public Optional<Win32LobAppRegistryRuleOperationType> getOperationType()
“The registry operation type.”- Returns:
- property operationType
-
withOperationType
public Win32LobAppRegistryRule withOperationType(Win32LobAppRegistryRuleOperationType operationType)
Returns an immutable copy ofthiswith just theoperationTypefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“The registry operation type.”
- Parameters:
operationType- new value ofoperationTypefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theoperationTypefield changed
-
getOperator
public Optional<Win32LobAppRuleOperator> getOperator()
“The operator for registry detection.”- Returns:
- property operator
-
withOperator
public Win32LobAppRegistryRule withOperator(Win32LobAppRuleOperator operator)
Returns an immutable copy ofthiswith just theoperatorfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“The operator for registry detection.”
- Parameters:
operator- new value ofoperatorfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theoperatorfield 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 ofthiswith just thevalueNamefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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 ofvalueNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thevalueNamefield changed
-
withUnmappedField
public Win32LobAppRegistryRule withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classWin32LobAppRule
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classWin32LobAppRule
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classWin32LobAppRule
-
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
-
toString
public String toString()
- Overrides:
toStringin classWin32LobAppRule
-
-