Interface SelfUpgradeRequestDetail.Builder

  • Method Details

    • upgradeRequestId

      SelfUpgradeRequestDetail.Builder upgradeRequestId(String upgradeRequestId)

      The ID of the self-upgrade request.

      Parameters:
      upgradeRequestId - The ID of the self-upgrade request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • userName

      The username of the user who initiated the self-upgrade request.

      Parameters:
      userName - The username of the user who initiated the self-upgrade request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • originalRole

      SelfUpgradeRequestDetail.Builder originalRole(String originalRole)

      The original role of the user before the upgrade.

      Parameters:
      originalRole - The original role of the user before the upgrade.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • originalRole

      SelfUpgradeRequestDetail.Builder originalRole(UserRole originalRole)

      The original role of the user before the upgrade.

      Parameters:
      originalRole - The original role of the user before the upgrade.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • requestedRole

      SelfUpgradeRequestDetail.Builder requestedRole(String requestedRole)

      The role that the user is requesting to upgrade to.

      Parameters:
      requestedRole - The role that the user is requesting to upgrade to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • requestedRole

      SelfUpgradeRequestDetail.Builder requestedRole(UserRole requestedRole)

      The role that the user is requesting to upgrade to.

      Parameters:
      requestedRole - The role that the user is requesting to upgrade to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • requestNote

      SelfUpgradeRequestDetail.Builder requestNote(String requestNote)

      An optional note explaining the reason for the self-upgrade request.

      Parameters:
      requestNote - An optional note explaining the reason for the self-upgrade request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • creationTime

      SelfUpgradeRequestDetail.Builder creationTime(Long creationTime)

      The time when the self-upgrade request was created.

      Parameters:
      creationTime - The time when the self-upgrade request was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • requestStatus

      SelfUpgradeRequestDetail.Builder requestStatus(String requestStatus)

      The status of the self-upgrade request.

      Parameters:
      requestStatus - The status of the self-upgrade request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • requestStatus

      The status of the self-upgrade request.

      Parameters:
      requestStatus - The status of the self-upgrade request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • lastUpdateAttemptTime

      SelfUpgradeRequestDetail.Builder lastUpdateAttemptTime(Long lastUpdateAttemptTime)

      The time of the last update attempt for the self-upgrade request.

      Parameters:
      lastUpdateAttemptTime - The time of the last update attempt for the self-upgrade request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastUpdateFailureReason

      SelfUpgradeRequestDetail.Builder lastUpdateFailureReason(String lastUpdateFailureReason)

      The reason for the last update failure, if applicable.

      Parameters:
      lastUpdateFailureReason - The reason for the last update failure, if applicable.
      Returns:
      Returns a reference to this object so that method calls can be chained together.