JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.793

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.codegurureviewer.model

Class CreateCodeReviewRequest

    • Constructor Detail

      • CreateCodeReviewRequest

        public CreateCodeReviewRequest()
    • Method Detail

      • setName

        public void setName(String name)

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

        Parameters:
        name - The name of the code review. The name of each code review in your Amazon Web Services account must be unique.
      • getName

        public String getName()

        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.
      • withName

        public CreateCodeReviewRequest withName(String name)

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

        Parameters:
        name - The name of the code review. The name of each code review in your Amazon Web Services account must be unique.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setRepositoryAssociationArn

        public void setRepositoryAssociationArn(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.

        Parameters:
        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.

      • getRepositoryAssociationArn

        public String getRepositoryAssociationArn()

        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.

      • withRepositoryAssociationArn

        public CreateCodeReviewRequest withRepositoryAssociationArn(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.

        Parameters:
        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:
        Returns a reference to this object so that method calls can be chained together.
      • setType

        public void setType(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.

        Parameters:
        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.
      • getType

        public CodeReviewType getType()

        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.
      • withType

        public CreateCodeReviewRequest withType(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.

        Parameters:
        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:
        Returns a reference to this object so that method calls can be chained together.
      • setClientRequestToken

        public void setClientRequestToken(String clientRequestToken)

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

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

        public String getClientRequestToken()

        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.
      • withClientRequestToken

        public CreateCodeReviewRequest withClientRequestToken(String clientRequestToken)

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

        Parameters:
        clientRequestToken - Amazon CodeGuru Reviewer uses this value to prevent the accidental creation of duplicate code reviews if there are failures and retries.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public 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
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /