Class DeviceComplianceScript.Builder

    • Method Detail

      • createdDateTime

        public DeviceComplianceScript.Builder createdDateTime​(OffsetDateTime createdDateTime)
        “The timestamp of when the device compliance script was created. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Parameters:
        createdDateTime - value of createdDateTime property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • description

        public DeviceComplianceScript.Builder description​(String description)
        “Description of the device compliance script”
        Parameters:
        description - value of description property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • detectionScriptContent

        public DeviceComplianceScript.Builder detectionScriptContent​(byte[] detectionScriptContent)
        “The entire content of the detection powershell script”
        Parameters:
        detectionScriptContent - value of detectionScriptContent property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • displayName

        public DeviceComplianceScript.Builder displayName​(String displayName)
        “Name of the device compliance script”
        Parameters:
        displayName - value of displayName property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • enforceSignatureCheck

        public DeviceComplianceScript.Builder enforceSignatureCheck​(Boolean enforceSignatureCheck)
        “Indicate whether the script signature needs be checked”
        Parameters:
        enforceSignatureCheck - value of enforceSignatureCheck property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • lastModifiedDateTime

        public DeviceComplianceScript.Builder lastModifiedDateTime​(OffsetDateTime lastModifiedDateTime)
        “The timestamp of when the device compliance script was modified. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Parameters:
        lastModifiedDateTime - value of lastModifiedDateTime property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • publisher

        public DeviceComplianceScript.Builder publisher​(String publisher)
        “Name of the device compliance script publisher”
        Parameters:
        publisher - value of publisher property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • roleScopeTagIds

        public DeviceComplianceScript.Builder roleScopeTagIds​(List<String> roleScopeTagIds)
        “List of Scope Tag IDs for the device compliance script”
        Parameters:
        roleScopeTagIds - value of roleScopeTagIds property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • roleScopeTagIds

        public DeviceComplianceScript.Builder roleScopeTagIds​(String... roleScopeTagIds)
        “List of Scope Tag IDs for the device compliance script”
        Parameters:
        roleScopeTagIds - value of roleScopeTagIds property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • roleScopeTagIdsNextLink

        public DeviceComplianceScript.Builder roleScopeTagIdsNextLink​(String roleScopeTagIdsNextLink)
        “List of Scope Tag IDs for the device compliance script”
        Parameters:
        roleScopeTagIdsNextLink - value of roleScopeTagIds@nextLink property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • runAs32Bit

        public DeviceComplianceScript.Builder runAs32Bit​(Boolean runAs32Bit)
        “Indicate whether PowerShell script(s) should run as 32-bit”
        Parameters:
        runAs32Bit - value of runAs32Bit property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • runAsAccount

        public DeviceComplianceScript.Builder runAsAccount​(RunAsAccountType runAsAccount)
        “Indicates the type of execution context”
        Parameters:
        runAsAccount - value of runAsAccount property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • version

        public DeviceComplianceScript.Builder version​(String version)
        “Version of the device compliance script”
        Parameters:
        version - value of version property (as defined in service metadata)
        Returns:
        this (for method chaining)