@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, withSdkRequestTimeoutpublic void setName(String name)
The name of the code review. Each code review of the same code review type must have a unique name in your AWS account.
name - The name of the code review. Each code review of the same code review type must have a unique name in your
        AWS account.public String getName()
The name of the code review. Each code review of the same code review type must have a unique name in your AWS account.
public CreateCodeReviewRequest withName(String name)
The name of the code review. Each code review of the same code review type must have a unique name in your AWS account.
name - The name of the code review. Each code review of the same code review type must have a unique name in your
        AWS account.public void setRepositoryAssociationArn(String repositoryAssociationArn)
 The Amazon Resource Name (ARN) of the 
 RepositoryAssociation  object. You can retrieve this ARN by calling
 ListRepositories.
 
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
        ListRepositories. 
        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
 ListRepositories.
 
A code review can only be created on an associated repository. This is the ARN of the associated repository.
RepositoryAssociation  object. You can retrieve this ARN by calling
         ListRepositories. 
         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
 ListRepositories.
 
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
        ListRepositories. 
        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.
 
type - The type of code review to create. This is specified using a 
        CodeReviewType  object.public CodeReviewType getType()
 The type of code review to create. This is specified using a 
 CodeReviewType  object.
 
CodeReviewType  object.public CreateCodeReviewRequest withType(CodeReviewType type)
 The type of code review to create. This is specified using a 
 CodeReviewType  object.
 
type - The type of code review to create. This is specified using a 
        CodeReviewType  object.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 ObjectObject.toString()public CreateCodeReviewRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()