Class DeviceManagementTemplate.Builder

    • Method Detail

      • description

        public DeviceManagementTemplate.Builder description​(String description)
        “The template's description”
        Parameters:
        description - value of description property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • displayName

        public DeviceManagementTemplate.Builder displayName​(String displayName)
        “The template's display name”
        Parameters:
        displayName - value of displayName property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • intentCount

        public DeviceManagementTemplate.Builder intentCount​(Integer intentCount)
        “Number of Intents created from this template.”
        Parameters:
        intentCount - value of intentCount property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • isDeprecated

        public DeviceManagementTemplate.Builder isDeprecated​(Boolean isDeprecated)
        “The template is deprecated or not. Intents cannot be created from a deprecated template.”
        Parameters:
        isDeprecated - value of isDeprecated property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • platformType

        public DeviceManagementTemplate.Builder platformType​(PolicyPlatformType platformType)
        “The template's platform.”
        Parameters:
        platformType - value of platformType property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • publishedDateTime

        public DeviceManagementTemplate.Builder publishedDateTime​(OffsetDateTime publishedDateTime)
        “When the template was published”
        Parameters:
        publishedDateTime - value of publishedDateTime property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • versionInfo

        public DeviceManagementTemplate.Builder versionInfo​(String versionInfo)
        “The template's version information”
        Parameters:
        versionInfo - value of versionInfo property (as defined in service metadata)
        Returns:
        this (for method chaining)