Interface RequestMetadata.Builder

    • Method Detail

      • requestId

        RequestMetadata.Builder requestId​(String requestId)

        The ID of the request. This is required for a pull request code review.

        Parameters:
        requestId - The ID of the request. This is required for a pull request code review.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • requester

        RequestMetadata.Builder requester​(String requester)

        An identifier, such as a name or account ID, that is associated with the requester. The Requester is used to capture the author/actor name of the event request.

        Parameters:
        requester - An identifier, such as a name or account ID, that is associated with the requester. The Requester is used to capture the author/actor name of the event request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • eventInfo

        RequestMetadata.Builder eventInfo​(EventInfo eventInfo)

        Information about the event associated with a code review.

        Parameters:
        eventInfo - Information about the event associated with a code review.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • vendorName

        RequestMetadata.Builder vendorName​(String vendorName)

        The name of the repository vendor used to upload code to an S3 bucket for a CI/CD code review. For example, if code and artifacts are uploaded to an S3 bucket for a CI/CD code review by GitHub scripts from a GitHub repository, then the repository association's ProviderType is S3Bucket and the CI/CD repository vendor name is GitHub. For more information, see the definition for ProviderType in RepositoryAssociation.

        Parameters:
        vendorName - The name of the repository vendor used to upload code to an S3 bucket for a CI/CD code review. For example, if code and artifacts are uploaded to an S3 bucket for a CI/CD code review by GitHub scripts from a GitHub repository, then the repository association's ProviderType is S3Bucket and the CI/CD repository vendor name is GitHub. For more information, see the definition for ProviderType in RepositoryAssociation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        VendorName, VendorName
      • vendorName

        RequestMetadata.Builder vendorName​(VendorName vendorName)

        The name of the repository vendor used to upload code to an S3 bucket for a CI/CD code review. For example, if code and artifacts are uploaded to an S3 bucket for a CI/CD code review by GitHub scripts from a GitHub repository, then the repository association's ProviderType is S3Bucket and the CI/CD repository vendor name is GitHub. For more information, see the definition for ProviderType in RepositoryAssociation.

        Parameters:
        vendorName - The name of the repository vendor used to upload code to an S3 bucket for a CI/CD code review. For example, if code and artifacts are uploaded to an S3 bucket for a CI/CD code review by GitHub scripts from a GitHub repository, then the repository association's ProviderType is S3Bucket and the CI/CD repository vendor name is GitHub. For more information, see the definition for ProviderType in RepositoryAssociation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        VendorName, VendorName