@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CodeReviewType extends Object implements Serializable, Cloneable, StructuredPojo
The type of a code review. There are two code review types:
PullRequest - A code review that is automatically triggered by a pull request on an associated
repository. Because this type of code review is automatically generated, you cannot specify this code review type
using
CreateCodeReview .
RepositoryAnalysis - A code review that analyzes all code under a specified branch in an associated
repository. The associated repository is specified using its ARN in CreateCodeReview
.
| Constructor and Description |
|---|
CodeReviewType() |
| Modifier and Type | Method and Description |
|---|---|
CodeReviewType |
clone() |
boolean |
equals(Object obj) |
RepositoryAnalysis |
getRepositoryAnalysis()
A code review that analyzes all code under a specified branch in an associated repository.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setRepositoryAnalysis(RepositoryAnalysis repositoryAnalysis)
A code review that analyzes all code under a specified branch in an associated repository.
|
String |
toString()
Returns a string representation of this object.
|
CodeReviewType |
withRepositoryAnalysis(RepositoryAnalysis repositoryAnalysis)
A code review that analyzes all code under a specified branch in an associated repository.
|
public void setRepositoryAnalysis(RepositoryAnalysis repositoryAnalysis)
A code review that analyzes all code under a specified branch in an associated repository. The associated
repository is specified using its ARN in
CreateCodeReview .
repositoryAnalysis - A code review that analyzes all code under a specified branch in an associated repository. The associated
repository is specified using its ARN in
CreateCodeReview .public RepositoryAnalysis getRepositoryAnalysis()
A code review that analyzes all code under a specified branch in an associated repository. The associated
repository is specified using its ARN in
CreateCodeReview .
CreateCodeReview .public CodeReviewType withRepositoryAnalysis(RepositoryAnalysis repositoryAnalysis)
A code review that analyzes all code under a specified branch in an associated repository. The associated
repository is specified using its ARN in
CreateCodeReview .
repositoryAnalysis - A code review that analyzes all code under a specified branch in an associated repository. The associated
repository is specified using its ARN in
CreateCodeReview .public String toString()
toString in class ObjectObject.toString()public CodeReviewType clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2021. All rights reserved.