@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() |
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 String name()
The name of the code review.
public String codeReviewArn()
The Amazon Resource Name (ARN) of the CodeReview
object.
CodeReview object.public String repositoryName()
The name of the repository.
public String owner()
The owner of the repository. For an AWS CodeCommit repository, this is the AWS 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.
public 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 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 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 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 Instant createdTimeStamp()
The time, in milliseconds since the epoch, when the code review was created.
public Instant lastUpdatedTimeStamp()
The time, in milliseconds since the epoch, when the code review was last updated.
public 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 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 String pullRequestId()
The pull request ID for the code review.
public MetricsSummary metricsSummary()
The statistics from the code review.
public CodeReviewSummary.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CodeReviewSummary.Builder,CodeReviewSummary>public static CodeReviewSummary.Builder builder()
public static Class<? extends CodeReviewSummary.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.