@Generated(value="software.amazon.awssdk:codegen") public final class CodeReviewSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CodeReviewSummary.Builder,CodeReviewSummary>
Information about the summary of the code review.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CodeReviewSummary.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CodeReviewSummary.Builder |
builder() |
String |
codeReviewArn()
The Amazon Resource Name (ARN) of the CodeReview object.
|
Instant |
createdTimeStamp()
The time, in milliseconds since the epoch, when the code review was created.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastUpdatedTimeStamp()
The time, in milliseconds since the epoch, when the code review was last updated.
|
MetricsSummary |
metricsSummary()
The statistics from the code review.
|
String |
name()
The name of the code review.
|
String |
owner()
The owner of the repository.
|
ProviderType |
providerType()
The provider type of the repository association.
|
String |
providerTypeAsString()
The provider type of the repository association.
|
String |
pullRequestId()
The pull request ID for the code review.
|
String |
repositoryName()
The name of the repository.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CodeReviewSummary.Builder> |
serializableBuilderClass() |
SourceCodeType |
sourceCodeType()
Returns the value of the SourceCodeType property for this object.
|
JobState |
state()
The state of the code review.
|
String |
stateAsString()
The state of the code review.
|
CodeReviewSummary.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Type |
type()
The type of the code review.
|
String |
typeAsString()
The type of the code review.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The name of the code review.
public final String codeReviewArn()
The Amazon Resource Name (ARN) of the CodeReview object.
public final String repositoryName()
The name of the repository.
public final String owner()
The owner of the repository. For an Amazon Web Services CodeCommit repository, this is the Amazon Web Services account ID of the account that owns the repository. For a GitHub, GitHub Enterprise Server, or Bitbucket repository, this is the username for the account that owns the repository. For an S3 repository, it can be the username or Amazon Web Services account ID.
public final ProviderType providerType()
The provider type of the repository association.
If the service returns an enum value that is not available in the current SDK version, providerType will
return ProviderType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
providerTypeAsString().
ProviderTypepublic final String providerTypeAsString()
The provider type of the repository association.
If the service returns an enum value that is not available in the current SDK version, providerType will
return ProviderType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
providerTypeAsString().
ProviderTypepublic final JobState state()
The state of the code review.
The valid code review states are:
Completed: The code review is complete.
Pending: The code review started and has not completed or failed.
Failed: The code review failed.
Deleting: The code review is being deleted.
If the service returns an enum value that is not available in the current SDK version, state will return
JobState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
The valid code review states are:
Completed: The code review is complete.
Pending: The code review started and has not completed or failed.
Failed: The code review failed.
Deleting: The code review is being deleted.
JobStatepublic final String stateAsString()
The state of the code review.
The valid code review states are:
Completed: The code review is complete.
Pending: The code review started and has not completed or failed.
Failed: The code review failed.
Deleting: The code review is being deleted.
If the service returns an enum value that is not available in the current SDK version, state will return
JobState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
The valid code review states are:
Completed: The code review is complete.
Pending: The code review started and has not completed or failed.
Failed: The code review failed.
Deleting: The code review is being deleted.
JobStatepublic final Instant createdTimeStamp()
The time, in milliseconds since the epoch, when the code review was created.
public final Instant lastUpdatedTimeStamp()
The time, in milliseconds since the epoch, when the code review was last updated.
public final Type type()
The type of the code review.
If the service returns an enum value that is not available in the current SDK version, type will return
Type.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
Typepublic final String typeAsString()
The type of the code review.
If the service returns an enum value that is not available in the current SDK version, type will return
Type.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
Typepublic final String pullRequestId()
The pull request ID for the code review.
public final MetricsSummary metricsSummary()
The statistics from the code review.
public final SourceCodeType sourceCodeType()
public CodeReviewSummary.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CodeReviewSummary.Builder,CodeReviewSummary>public static CodeReviewSummary.Builder builder()
public static Class<? extends CodeReviewSummary.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.