@Generated(value="software.amazon.awssdk:codegen") public final class CreateCodeReviewRequest extends CodeGuruReviewerRequest implements ToCopyableBuilder<CreateCodeReviewRequest.Builder,CreateCodeReviewRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateCodeReviewRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateCodeReviewRequest.Builder |
builder() |
String |
clientRequestToken()
Amazon CodeGuru Reviewer uses this value to prevent the accidental creation of duplicate code reviews if there
are failures and retries.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the code review.
|
String |
repositoryAssociationArn()
The Amazon Resource Name (ARN) of the RepositoryAssociation object.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateCodeReviewRequest.Builder> |
serializableBuilderClass() |
CreateCodeReviewRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
CodeReviewType |
type()
The type of code review to create.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The name of the code review. The name of each code review in your Amazon Web Services account must be unique.
public final 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.
A code review can only be created on an associated repository. This is the ARN of the associated repository.
public final 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.
RepositoryAnalysis.public final String clientRequestToken()
Amazon CodeGuru Reviewer uses this value to prevent the accidental creation of duplicate code reviews if there are failures and retries.
public CreateCodeReviewRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateCodeReviewRequest.Builder,CreateCodeReviewRequest>toBuilder in class CodeGuruReviewerRequestpublic static CreateCodeReviewRequest.Builder builder()
public static Class<? extends CreateCodeReviewRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.