Class Win32LobAppRegistryDetection
- java.lang.Object
-
- odata.msgraph.client.beta.complex.Win32LobAppDetection
-
- odata.msgraph.client.beta.complex.Win32LobAppRegistryDetection
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class Win32LobAppRegistryDetection extends Win32LobAppDetection implements com.github.davidmoten.odata.client.ODataType
“Contains registry properties to detect a Win32 App”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWin32LobAppRegistryDetection.Builder
-
Field Summary
Fields Modifier and Type Field Description protected Booleancheck32BitOn64Systemprotected Win32LobAppRegistryDetectionTypedetectionTypeprotected StringdetectionValueprotected StringkeyPathprotected Win32LobAppDetectionOperatoroperatorprotected StringvalueName-
Fields inherited from class odata.msgraph.client.beta.complex.Win32LobAppDetection
contextPath, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedWin32LobAppRegistryDetection()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Win32LobAppRegistryDetection.BuilderbuilderWin32LobAppRegistryDetection()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 this registry path is for checking 32-bit app on 64- bit system”Optional<Win32LobAppRegistryDetectionType>getDetectionType()“The registry data detection type”Optional<String>getDetectionValue()“The registry detection value”Optional<String>getKeyPath()“The registry key path to detect Win32 Line of Business (LoB) app”Optional<Win32LobAppDetectionOperator>getOperator()“The operator for registry data detection”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<String>getValueName()“The registry value name”StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()Win32LobAppRegistryDetectionwithCheck32BitOn64System(Boolean check32BitOn64System)Returns an immutable copy ofthiswith just thecheck32BitOn64Systemfield changed.Win32LobAppRegistryDetectionwithDetectionType(Win32LobAppRegistryDetectionType detectionType)Returns an immutable copy ofthiswith just thedetectionTypefield changed.Win32LobAppRegistryDetectionwithDetectionValue(String detectionValue)Returns an immutable copy ofthiswith just thedetectionValuefield changed.Win32LobAppRegistryDetectionwithKeyPath(String keyPath)Returns an immutable copy ofthiswith just thekeyPathfield changed.Win32LobAppRegistryDetectionwithOperator(Win32LobAppDetectionOperator operator)Returns an immutable copy ofthiswith just theoperatorfield changed.Win32LobAppRegistryDetectionwithUnmappedField(String name, String value)Win32LobAppRegistryDetectionwithValueName(String valueName)Returns an immutable copy ofthiswith just thevalueNamefield changed.
-
-
-
Field Detail
-
check32BitOn64System
protected Boolean check32BitOn64System
-
detectionType
protected Win32LobAppRegistryDetectionType detectionType
-
detectionValue
protected String detectionValue
-
keyPath
protected String keyPath
-
operator
protected Win32LobAppDetectionOperator operator
-
valueName
protected String valueName
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classWin32LobAppDetection
-
getCheck32BitOn64System
public Optional<Boolean> getCheck32BitOn64System()
“A value indicating whether this registry path is for checking 32-bit app on 64- bit system”- Returns:
- property check32BitOn64System
-
withCheck32BitOn64System
public Win32LobAppRegistryDetection 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 this registry path is for checking 32-bit app on 64- bit system”
- Parameters:
check32BitOn64System- new value ofcheck32BitOn64Systemfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecheck32BitOn64Systemfield changed
-
getDetectionType
public Optional<Win32LobAppRegistryDetectionType> getDetectionType()
“The registry data detection type”- Returns:
- property detectionType
-
withDetectionType
public Win32LobAppRegistryDetection withDetectionType(Win32LobAppRegistryDetectionType detectionType)
Returns an immutable copy ofthiswith just thedetectionTypefield 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 data detection type”
- Parameters:
detectionType- new value ofdetectionTypefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedetectionTypefield changed
-
getDetectionValue
public Optional<String> getDetectionValue()
“The registry detection value”- Returns:
- property detectionValue
-
withDetectionValue
public Win32LobAppRegistryDetection withDetectionValue(String detectionValue)
Returns an immutable copy ofthiswith just thedetectionValuefield 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 detection value”
- Parameters:
detectionValue- new value ofdetectionValuefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedetectionValuefield changed
-
getKeyPath
public Optional<String> getKeyPath()
“The registry key path to detect Win32 Line of Business (LoB) app”- Returns:
- property keyPath
-
withKeyPath
public Win32LobAppRegistryDetection 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 registry key path to detect Win32 Line of Business (LoB) app”
- Parameters:
keyPath- new value ofkeyPathfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thekeyPathfield changed
-
getOperator
public Optional<Win32LobAppDetectionOperator> getOperator()
“The operator for registry data detection”- Returns:
- property operator
-
withOperator
public Win32LobAppRegistryDetection withOperator(Win32LobAppDetectionOperator 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 data 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 registry value name”- Returns:
- property valueName
-
withValueName
public Win32LobAppRegistryDetection 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 registry value name”
- Parameters:
valueName- new value ofvalueNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thevalueNamefield changed
-
withUnmappedField
public Win32LobAppRegistryDetection withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classWin32LobAppDetection
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classWin32LobAppDetection
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classWin32LobAppDetection
-
builderWin32LobAppRegistryDetection
public static Win32LobAppRegistryDetection.Builder builderWin32LobAppRegistryDetection()
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 classWin32LobAppDetection
-
-