Class DeviceCustomAttributeShellScript.Builder

    • Method Detail

      • createdDateTime

        public DeviceCustomAttributeShellScript.Builder createdDateTime​(OffsetDateTime createdDateTime)
        “The date and time the device management 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)
      • customAttributeName

        public DeviceCustomAttributeShellScript.Builder customAttributeName​(String customAttributeName)
        “The name of the custom attribute.”
        Parameters:
        customAttributeName - value of customAttributeName property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • description

        public DeviceCustomAttributeShellScript.Builder description​(String description)
        “Optional description for the device management script.”
        Parameters:
        description - value of description property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • displayName

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

        public DeviceCustomAttributeShellScript.Builder fileName​(String fileName)
        “Script file name.”
        Parameters:
        fileName - value of fileName property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • lastModifiedDateTime

        public DeviceCustomAttributeShellScript.Builder lastModifiedDateTime​(OffsetDateTime lastModifiedDateTime)
        “The date and time the device management script was last 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)
      • roleScopeTagIds

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

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

        public DeviceCustomAttributeShellScript.Builder roleScopeTagIdsNextLink​(String roleScopeTagIdsNextLink)
        “List of Scope Tag IDs for this PowerShellScript instance.”
        Parameters:
        roleScopeTagIdsNextLink - value of roleScopeTagIds@nextLink property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • runAsAccount

        public DeviceCustomAttributeShellScript.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)
      • scriptContent

        public DeviceCustomAttributeShellScript.Builder scriptContent​(byte[] scriptContent)
        “The script content.”
        Parameters:
        scriptContent - value of scriptContent property (as defined in service metadata)
        Returns:
        this (for method chaining)