Class CreateCodeReviewRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.codegurureviewer.model.CodeGuruReviewerRequest
-
- software.amazon.awssdk.services.codegurureviewer.model.CreateCodeReviewRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CreateCodeReviewRequest.Builder,CreateCodeReviewRequest>
@Generated("software.amazon.awssdk:codegen") public final class CreateCodeReviewRequest extends CodeGuruReviewerRequest implements ToCopyableBuilder<CreateCodeReviewRequest.Builder,CreateCodeReviewRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCreateCodeReviewRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateCodeReviewRequest.Builderbuilder()StringclientRequestToken()Amazon CodeGuru Reviewer uses this value to prevent the accidental creation of duplicate code reviews if there are failures and retries.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()The name of the code review.StringrepositoryAssociationArn()The Amazon Resource Name (ARN) of the RepositoryAssociation object.List<SdkField<?>>sdkFields()static Class<? extends CreateCodeReviewRequest.Builder>serializableBuilderClass()CreateCodeReviewRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.CodeReviewTypetype()The type of code review to create.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
name
public final String name()
The name of the code review. The name of each code review in your Amazon Web Services account must be unique.
- Returns:
- The name of the code review. The name of each code review in your Amazon Web Services account must be unique.
-
repositoryAssociationArn
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.
- Returns:
- 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.
-
type
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.- Returns:
- The type of code review to create. This is specified using a CodeReviewType object. You can create a code review only of type
RepositoryAnalysis.
-
clientRequestToken
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.
- Returns:
- Amazon CodeGuru Reviewer uses this value to prevent the accidental creation of duplicate code reviews if there are failures and retries.
-
toBuilder
public CreateCodeReviewRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateCodeReviewRequest.Builder,CreateCodeReviewRequest>- Specified by:
toBuilderin classCodeGuruReviewerRequest
-
builder
public static CreateCodeReviewRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateCodeReviewRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-