Class DeviceHealthScript.Builder

    • Method Detail

      • createdDateTime

        public DeviceHealthScript.Builder createdDateTime​(OffsetDateTime createdDateTime)
        “The timestamp of when the device health 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 DeviceHealthScript.Builder description​(String description)
        “Description of the device health script”
        Parameters:
        description - value of description property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • detectionScriptContent

        public DeviceHealthScript.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)
      • detectionScriptParameters

        public DeviceHealthScript.Builder detectionScriptParameters​(List<DeviceHealthScriptParameter> detectionScriptParameters)
        “List of ComplexType DetectionScriptParameters objects.”
        Parameters:
        detectionScriptParameters - value of detectionScriptParameters property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • detectionScriptParameters

        public DeviceHealthScript.Builder detectionScriptParameters​(DeviceHealthScriptParameter... detectionScriptParameters)
        “List of ComplexType DetectionScriptParameters objects.”
        Parameters:
        detectionScriptParameters - value of detectionScriptParameters property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • detectionScriptParametersNextLink

        public DeviceHealthScript.Builder detectionScriptParametersNextLink​(String detectionScriptParametersNextLink)
        “List of ComplexType DetectionScriptParameters objects.”
        Parameters:
        detectionScriptParametersNextLink - value of detectionScriptParameters@nextLink property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • displayName

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

        public DeviceHealthScript.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)
      • highestAvailableVersion

        public DeviceHealthScript.Builder highestAvailableVersion​(String highestAvailableVersion)
        “Highest available version for a Microsoft Proprietary script”
        Parameters:
        highestAvailableVersion - value of highestAvailableVersion property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • isGlobalScript

        public DeviceHealthScript.Builder isGlobalScript​(Boolean isGlobalScript)
        “Determines if this is Microsoft Proprietary Script. Proprietary scripts are read -only”
        Parameters:
        isGlobalScript - value of isGlobalScript property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • lastModifiedDateTime

        public DeviceHealthScript.Builder lastModifiedDateTime​(OffsetDateTime lastModifiedDateTime)
        “The timestamp of when the device health 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 DeviceHealthScript.Builder publisher​(String publisher)
        “Name of the device health script publisher”
        Parameters:
        publisher - value of publisher property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • remediationScriptContent

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

        public DeviceHealthScript.Builder remediationScriptParameters​(List<DeviceHealthScriptParameter> remediationScriptParameters)
        “List of ComplexType RemediationScriptParameters objects.”
        Parameters:
        remediationScriptParameters - value of remediationScriptParameters property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • remediationScriptParameters

        public DeviceHealthScript.Builder remediationScriptParameters​(DeviceHealthScriptParameter... remediationScriptParameters)
        “List of ComplexType RemediationScriptParameters objects.”
        Parameters:
        remediationScriptParameters - value of remediationScriptParameters property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • remediationScriptParametersNextLink

        public DeviceHealthScript.Builder remediationScriptParametersNextLink​(String remediationScriptParametersNextLink)
        “List of ComplexType RemediationScriptParameters objects.”
        Parameters:
        remediationScriptParametersNextLink - value of remediationScriptParameters@nextLink property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • roleScopeTagIds

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

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

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

        public DeviceHealthScript.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 DeviceHealthScript.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 DeviceHealthScript.Builder version​(String version)
        “Version of the device health script”
        Parameters:
        version - value of version property (as defined in service metadata)
        Returns:
        this (for method chaining)