@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 assocaited
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
respository. The assocated 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 respository.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setRepositoryAnalysis(RepositoryAnalysis repositoryAnalysis)
A code review that analyzes all code under a specified branch in an associated respository.
|
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 respository.
|
public void setRepositoryAnalysis(RepositoryAnalysis repositoryAnalysis)
A code review that analyzes all code under a specified branch in an associated respository. The assocated
repository is specified using its ARN in
CreateCodeReview
repositoryAnalysis - A code review that analyzes all code under a specified branch in an associated respository. The assocated
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 respository. The assocated
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 respository. The assocated
repository is specified using its ARN in
CreateCodeReview
repositoryAnalysis - A code review that analyzes all code under a specified branch in an associated respository. The assocated
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 © 2020. All rights reserved.