Interface GitLabDetails.Builder

  • Method Details

    • instanceUrl

      GitLabDetails.Builder instanceUrl(String instanceUrl)

      The HTTPS base URL of the GitLab instance.

      Parameters:
      instanceUrl - The HTTPS base URL of the GitLab instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targetType

      GitLabDetails.Builder targetType(String targetType)

      Whether the integration targets a group or a single project.

      Parameters:
      targetType - Whether the integration targets a group or a single project.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • targetType

      GitLabDetails.Builder targetType(GitLabTargetType targetType)

      Whether the integration targets a group or a single project.

      Parameters:
      targetType - Whether the integration targets a group or a single project.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • targetPath

      GitLabDetails.Builder targetPath(String targetPath)

      The group or project path the integration targets.

      Parameters:
      targetPath - The group or project path the integration targets.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tokenRotation

      GitLabDetails.Builder tokenRotation(String tokenRotation)

      How the integration's access token is rotated. AUTOMATIC only when the pasted token had the self-rotate scope and rotation was opted in at installation time.

      Parameters:
      tokenRotation - How the integration's access token is rotated. AUTOMATIC only when the pasted token had the self-rotate scope and rotation was opted in at installation time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • tokenRotation

      GitLabDetails.Builder tokenRotation(GitLabTokenRotation tokenRotation)

      How the integration's access token is rotated. AUTOMATIC only when the pasted token had the self-rotate scope and rotation was opted in at installation time.

      Parameters:
      tokenRotation - How the integration's access token is rotated. AUTOMATIC only when the pasted token had the self-rotate scope and rotation was opted in at installation time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • expiresAt

      GitLabDetails.Builder expiresAt(Instant expiresAt)

      The expiry of the stored access token, for non-rotating tokens only. A rotated token's original expiry is stale, so this is omitted when tokenRotation is AUTOMATIC.

      Parameters:
      expiresAt - The expiry of the stored access token, for non-rotating tokens only. A rotated token's original expiry is stale, so this is omitted when tokenRotation is AUTOMATIC.
      Returns:
      Returns a reference to this object so that method calls can be chained together.