Class AndroidForWorkEnrollmentProfile.Builder

    • Method Detail

      • accountId

        public AndroidForWorkEnrollmentProfile.Builder accountId​(String accountId)
        “Tenant GUID the enrollment profile belongs to.”
        Parameters:
        accountId - value of accountId property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • createdDateTime

        public AndroidForWorkEnrollmentProfile.Builder createdDateTime​(OffsetDateTime createdDateTime)
        “Date time the enrollment profile was created.”
        Parameters:
        createdDateTime - value of createdDateTime property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • description

        public AndroidForWorkEnrollmentProfile.Builder description​(String description)
        “Description for the enrollment profile.”
        Parameters:
        description - value of description property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • displayName

        public AndroidForWorkEnrollmentProfile.Builder displayName​(String displayName)
        “Display name for the enrollment profile.”
        Parameters:
        displayName - value of displayName property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • enrolledDeviceCount

        public AndroidForWorkEnrollmentProfile.Builder enrolledDeviceCount​(Integer enrolledDeviceCount)
        “Total number of Android devices that have enrolled using this enrollment profile .”
        Parameters:
        enrolledDeviceCount - value of enrolledDeviceCount property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • lastModifiedDateTime

        public AndroidForWorkEnrollmentProfile.Builder lastModifiedDateTime​(OffsetDateTime lastModifiedDateTime)
        “Date time the enrollment profile was last modified.”
        Parameters:
        lastModifiedDateTime - value of lastModifiedDateTime property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • qrCodeContent

        public AndroidForWorkEnrollmentProfile.Builder qrCodeContent​(String qrCodeContent)
        “String used to generate a QR code for the token.”
        Parameters:
        qrCodeContent - value of qrCodeContent property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • qrCodeImage

        public AndroidForWorkEnrollmentProfile.Builder qrCodeImage​(MimeContent qrCodeImage)
        “String used to generate a QR code for the token.”
        Parameters:
        qrCodeImage - value of qrCodeImage property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • tokenExpirationDateTime

        public AndroidForWorkEnrollmentProfile.Builder tokenExpirationDateTime​(OffsetDateTime tokenExpirationDateTime)
        “Date time the most recently created token will expire.”
        Parameters:
        tokenExpirationDateTime - value of tokenExpirationDateTime property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • tokenValue

        public AndroidForWorkEnrollmentProfile.Builder tokenValue​(String tokenValue)
        “Value of the most recently created token for this enrollment profile.”
        Parameters:
        tokenValue - value of tokenValue property (as defined in service metadata)
        Returns:
        this (for method chaining)