Class CreateCodeReviewRequest

    • Method Detail

      • name

        public final String name()

        The name of the code review. The name of each code review in your Amazon Web Services account must be unique.

        Returns:
        The name of the code review. The name of each code review in your Amazon Web Services account must be unique.
      • repositoryAssociationArn

        public final String repositoryAssociationArn()

        The Amazon Resource Name (ARN) of the RepositoryAssociation object. You can retrieve this ARN by calling ListRepositoryAssociations.

        A code review can only be created on an associated repository. This is the ARN of the associated repository.

        Returns:
        The Amazon Resource Name (ARN) of the RepositoryAssociation object. You can retrieve this ARN by calling ListRepositoryAssociations.

        A code review can only be created on an associated repository. This is the ARN of the associated repository.

      • type

        public final CodeReviewType type()

        The type of code review to create. This is specified using a CodeReviewType object. You can create a code review only of type RepositoryAnalysis.

        Returns:
        The type of code review to create. This is specified using a CodeReviewType object. You can create a code review only of type RepositoryAnalysis.
      • clientRequestToken

        public final String clientRequestToken()

        Amazon CodeGuru Reviewer uses this value to prevent the accidental creation of duplicate code reviews if there are failures and retries.

        Returns:
        Amazon CodeGuru Reviewer uses this value to prevent the accidental creation of duplicate code reviews if there are failures and retries.
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object