Class Win32LobAppPowerShellScriptDetection
- java.lang.Object
-
- odata.msgraph.client.beta.complex.Win32LobAppDetection
-
- odata.msgraph.client.beta.complex.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”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWin32LobAppPowerShellScriptDetection.Builder
-
Field Summary
Fields Modifier and Type Field Description protected BooleanenforceSignatureCheckprotected BooleanrunAs32Bitprotected StringscriptContent-
Fields inherited from class odata.msgraph.client.beta.complex.Win32LobAppDetection
contextPath, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedWin32LobAppPowerShellScriptDetection()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Win32LobAppPowerShellScriptDetection.BuilderbuilderWin32LobAppPowerShellScriptDetection()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<Boolean>getEnforceSignatureCheck()“A value indicating whether signature check is enforced”Optional<Boolean>getRunAs32Bit()“A value indicating whether this script should run as 32-bit”Optional<String>getScriptContent()“The base64 encoded script content to detect Win32 Line of Business (LoB) app”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()Win32LobAppPowerShellScriptDetectionwithEnforceSignatureCheck(Boolean enforceSignatureCheck)Returns an immutable copy ofthiswith just theenforceSignatureCheckfield changed.Win32LobAppPowerShellScriptDetectionwithRunAs32Bit(Boolean runAs32Bit)Returns an immutable copy ofthiswith just therunAs32Bitfield changed.Win32LobAppPowerShellScriptDetectionwithScriptContent(String scriptContent)Returns an immutable copy ofthiswith just thescriptContentfield changed.Win32LobAppPowerShellScriptDetectionwithUnmappedField(String name, String value)
-
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classWin32LobAppDetection
-
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 ofthiswith just theenforceSignatureCheckfield 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 signature check is enforced”
- Parameters:
enforceSignatureCheck- new value ofenforceSignatureCheckfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theenforceSignatureCheckfield 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 ofthiswith just therunAs32Bitfield 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 script should run as 32-bit”
- Parameters:
runAs32Bit- new value ofrunAs32Bitfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just therunAs32Bitfield 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 ofthiswith just thescriptContentfield 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 base64 encoded script content to detect Win32 Line of Business (LoB) app”
- Parameters:
scriptContent- new value ofscriptContentfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thescriptContentfield changed
-
withUnmappedField
public Win32LobAppPowerShellScriptDetection 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
-
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
-
toString
public String toString()
- Overrides:
toStringin classWin32LobAppDetection
-
-