@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CodeReview extends Object implements Serializable, Cloneable, StructuredPojo
Information about a code review.
Constructor and Description |
---|
CodeReview() |
Modifier and Type | Method and Description |
---|---|
CodeReview |
clone() |
boolean |
equals(Object obj) |
String |
getCodeReviewArn()
The Amazon Resource Name (ARN) of the code review to describe.
|
Date |
getCreatedTimeStamp()
The time, in milliseconds since the epoch, when the code review was created.
|
Date |
getLastUpdatedTimeStamp()
The time, in milliseconds since the epoch, when the code review was last updated.
|
Metrics |
getMetrics()
The statistics from the code review.
|
String |
getName()
The name of the code review.
|
String |
getOwner()
The owner of the repository.
|
String |
getProviderType()
The provider type of the repository association.
|
String |
getPullRequestId()
The pull request ID for the code review.
|
String |
getRepositoryName()
The name of the repository.
|
SourceCodeType |
getSourceCodeType()
The type of the source code for the code review.
|
String |
getState()
The state of the code review.
|
String |
getStateReason()
The reason for the state of the code review.
|
String |
getType()
The type of code review.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCodeReviewArn(String codeReviewArn)
The Amazon Resource Name (ARN) of the code review to describe.
|
void |
setCreatedTimeStamp(Date createdTimeStamp)
The time, in milliseconds since the epoch, when the code review was created.
|
void |
setLastUpdatedTimeStamp(Date lastUpdatedTimeStamp)
The time, in milliseconds since the epoch, when the code review was last updated.
|
void |
setMetrics(Metrics metrics)
The statistics from the code review.
|
void |
setName(String name)
The name of the code review.
|
void |
setOwner(String owner)
The owner of the repository.
|
void |
setProviderType(String providerType)
The provider type of the repository association.
|
void |
setPullRequestId(String pullRequestId)
The pull request ID for the code review.
|
void |
setRepositoryName(String repositoryName)
The name of the repository.
|
void |
setSourceCodeType(SourceCodeType sourceCodeType)
The type of the source code for the code review.
|
void |
setState(String state)
The state of the code review.
|
void |
setStateReason(String stateReason)
The reason for the state of the code review.
|
void |
setType(String type)
The type of code review.
|
String |
toString()
Returns a string representation of this object.
|
CodeReview |
withCodeReviewArn(String codeReviewArn)
The Amazon Resource Name (ARN) of the code review to describe.
|
CodeReview |
withCreatedTimeStamp(Date createdTimeStamp)
The time, in milliseconds since the epoch, when the code review was created.
|
CodeReview |
withLastUpdatedTimeStamp(Date lastUpdatedTimeStamp)
The time, in milliseconds since the epoch, when the code review was last updated.
|
CodeReview |
withMetrics(Metrics metrics)
The statistics from the code review.
|
CodeReview |
withName(String name)
The name of the code review.
|
CodeReview |
withOwner(String owner)
The owner of the repository.
|
CodeReview |
withProviderType(ProviderType providerType)
The provider type of the repository association.
|
CodeReview |
withProviderType(String providerType)
The provider type of the repository association.
|
CodeReview |
withPullRequestId(String pullRequestId)
The pull request ID for the code review.
|
CodeReview |
withRepositoryName(String repositoryName)
The name of the repository.
|
CodeReview |
withSourceCodeType(SourceCodeType sourceCodeType)
The type of the source code for the code review.
|
CodeReview |
withState(JobState state)
The state of the code review.
|
CodeReview |
withState(String state)
The state of the code review.
|
CodeReview |
withStateReason(String stateReason)
The reason for the state of the code review.
|
CodeReview |
withType(String type)
The type of code review.
|
CodeReview |
withType(Type type)
The type of code review.
|
public void setName(String name)
The name of the code review.
name
- The name of the code review.public String getName()
The name of the code review.
public CodeReview withName(String name)
The name of the code review.
name
- The name of the code review.public void setCodeReviewArn(String codeReviewArn)
The Amazon Resource Name (ARN) of the code review to describe.
codeReviewArn
- The Amazon Resource Name (ARN) of the code review to describe.public String getCodeReviewArn()
The Amazon Resource Name (ARN) of the code review to describe.
public CodeReview withCodeReviewArn(String codeReviewArn)
The Amazon Resource Name (ARN) of the code review to describe.
codeReviewArn
- The Amazon Resource Name (ARN) of the code review to describe.public void setRepositoryName(String repositoryName)
The name of the repository.
repositoryName
- The name of the repository.public String getRepositoryName()
The name of the repository.
public CodeReview withRepositoryName(String repositoryName)
The name of the repository.
repositoryName
- The name of the repository.public void setOwner(String owner)
The owner of the repository.
owner
- The owner of the repository.public String getOwner()
The owner of the repository.
public CodeReview withOwner(String owner)
The owner of the repository.
owner
- The owner of the repository.public void setProviderType(String providerType)
The provider type of the repository association.
providerType
- The provider type of the repository association.ProviderType
public String getProviderType()
The provider type of the repository association.
ProviderType
public CodeReview withProviderType(String providerType)
The provider type of the repository association.
providerType
- The provider type of the repository association.ProviderType
public CodeReview withProviderType(ProviderType providerType)
The provider type of the repository association.
providerType
- The provider type of the repository association.ProviderType
public void setState(String state)
The state of the code review.
state
- The state of the code review.JobState
public String getState()
The state of the code review.
JobState
public CodeReview withState(String state)
The state of the code review.
state
- The state of the code review.JobState
public CodeReview withState(JobState state)
The state of the code review.
state
- The state of the code review.JobState
public void setStateReason(String stateReason)
The reason for the state of the code review.
stateReason
- The reason for the state of the code review.public String getStateReason()
The reason for the state of the code review.
public CodeReview withStateReason(String stateReason)
The reason for the state of the code review.
stateReason
- The reason for the state of the code review.public void setCreatedTimeStamp(Date createdTimeStamp)
The time, in milliseconds since the epoch, when the code review was created.
createdTimeStamp
- The time, in milliseconds since the epoch, when the code review was created.public Date getCreatedTimeStamp()
The time, in milliseconds since the epoch, when the code review was created.
public CodeReview withCreatedTimeStamp(Date createdTimeStamp)
The time, in milliseconds since the epoch, when the code review was created.
createdTimeStamp
- The time, in milliseconds since the epoch, when the code review was created.public void setLastUpdatedTimeStamp(Date lastUpdatedTimeStamp)
The time, in milliseconds since the epoch, when the code review was last updated.
lastUpdatedTimeStamp
- The time, in milliseconds since the epoch, when the code review was last updated.public Date getLastUpdatedTimeStamp()
The time, in milliseconds since the epoch, when the code review was last updated.
public CodeReview withLastUpdatedTimeStamp(Date lastUpdatedTimeStamp)
The time, in milliseconds since the epoch, when the code review was last updated.
lastUpdatedTimeStamp
- The time, in milliseconds since the epoch, when the code review was last updated.public void setType(String type)
The type of code review.
type
- The type of code review.Type
public String getType()
The type of code review.
Type
public CodeReview withType(String type)
The type of code review.
type
- The type of code review.Type
public CodeReview withType(Type type)
The type of code review.
type
- The type of code review.Type
public void setPullRequestId(String pullRequestId)
The pull request ID for the code review.
pullRequestId
- The pull request ID for the code review.public String getPullRequestId()
The pull request ID for the code review.
public CodeReview withPullRequestId(String pullRequestId)
The pull request ID for the code review.
pullRequestId
- The pull request ID for the code review.public void setSourceCodeType(SourceCodeType sourceCodeType)
The type of the source code for the code review.
sourceCodeType
- The type of the source code for the code review.public SourceCodeType getSourceCodeType()
The type of the source code for the code review.
public CodeReview withSourceCodeType(SourceCodeType sourceCodeType)
The type of the source code for the code review.
sourceCodeType
- The type of the source code for the code review.public void setMetrics(Metrics metrics)
The statistics from the code review.
metrics
- The statistics from the code review.public Metrics getMetrics()
The statistics from the code review.
public CodeReview withMetrics(Metrics metrics)
The statistics from the code review.
metrics
- The statistics from the code review.public String toString()
toString
in class Object
Object.toString()
public CodeReview clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.