@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateCodeReviewRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateCodeReviewRequest() |
Modifier and Type | Method and Description |
---|---|
CreateCodeReviewRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientRequestToken()
Amazon CodeGuru Reviewer uses this value to prevent the accidental creation of duplicate code reviews if there
are failures and retries.
|
String |
getName()
The name of the code review.
|
String |
getRepositoryAssociationArn()
The Amazon Resource Name (ARN) of the RepositoryAssociation object.
|
CodeReviewType |
getType()
The type of code review to create.
|
int |
hashCode() |
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.
|
void |
setName(String name)
The name of the code review.
|
void |
setRepositoryAssociationArn(String repositoryAssociationArn)
The Amazon Resource Name (ARN) of the RepositoryAssociation object.
|
void |
setType(CodeReviewType type)
The type of code review to create.
|
String |
toString()
Returns a string representation of this object.
|
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.
|
CreateCodeReviewRequest |
withName(String name)
The name of the code review.
|
CreateCodeReviewRequest |
withRepositoryAssociationArn(String repositoryAssociationArn)
The Amazon Resource Name (ARN) of the RepositoryAssociation object.
|
CreateCodeReviewRequest |
withType(CodeReviewType type)
The type of code review to create.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
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.
name
- The name of the code review. The name of each code review in your Amazon Web Services account must be
unique.public String getName()
The name of the code review. The name of each code review in your Amazon Web Services account must be unique.
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.
name
- The name of the code review. The name of each code review in your Amazon Web Services account must be
unique.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.
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.
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.
A code review can only be created on an associated repository. This is the ARN of the associated repository.
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.
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.
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
.
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
.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
.
RepositoryAnalysis
.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
.
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
.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.
clientRequestToken
- Amazon CodeGuru Reviewer uses this value to prevent the accidental creation of duplicate code reviews if
there are failures and retries.public String getClientRequestToken()
Amazon CodeGuru Reviewer uses this value to prevent the accidental creation of duplicate code reviews if there are failures and retries.
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.
clientRequestToken
- Amazon CodeGuru Reviewer uses this value to prevent the accidental creation of duplicate code reviews if
there are failures and retries.public String toString()
toString
in class Object
Object.toString()
public CreateCodeReviewRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()