Class PullRequestSourceReferenceUpdatedEventMetadata
- java.lang.Object
-
- software.amazon.awssdk.services.codecommit.model.PullRequestSourceReferenceUpdatedEventMetadata
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<PullRequestSourceReferenceUpdatedEventMetadata.Builder,PullRequestSourceReferenceUpdatedEventMetadata>
@Generated("software.amazon.awssdk:codegen") public final class PullRequestSourceReferenceUpdatedEventMetadata extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PullRequestSourceReferenceUpdatedEventMetadata.Builder,PullRequestSourceReferenceUpdatedEventMetadata>
Information about an update to the source branch of a pull request.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePullRequestSourceReferenceUpdatedEventMetadata.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringafterCommitId()The full commit ID of the commit in the source branch that was the tip of the branch at the time the pull request was updated.StringbeforeCommitId()The full commit ID of the commit in the destination branch that was the tip of the branch at the time the pull request was updated.static PullRequestSourceReferenceUpdatedEventMetadata.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringmergeBase()The commit ID of the most recent commit that the source branch and the destination branch have in common.StringrepositoryName()The name of the repository where the pull request was updated.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends PullRequestSourceReferenceUpdatedEventMetadata.Builder>serializableBuilderClass()PullRequestSourceReferenceUpdatedEventMetadata.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
repositoryName
public final String repositoryName()
The name of the repository where the pull request was updated.
- Returns:
- The name of the repository where the pull request was updated.
-
beforeCommitId
public final String beforeCommitId()
The full commit ID of the commit in the destination branch that was the tip of the branch at the time the pull request was updated.
- Returns:
- The full commit ID of the commit in the destination branch that was the tip of the branch at the time the pull request was updated.
-
afterCommitId
public final String afterCommitId()
The full commit ID of the commit in the source branch that was the tip of the branch at the time the pull request was updated.
- Returns:
- The full commit ID of the commit in the source branch that was the tip of the branch at the time the pull request was updated.
-
mergeBase
public final String mergeBase()
The commit ID of the most recent commit that the source branch and the destination branch have in common.
- Returns:
- The commit ID of the most recent commit that the source branch and the destination branch have in common.
-
toBuilder
public PullRequestSourceReferenceUpdatedEventMetadata.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PullRequestSourceReferenceUpdatedEventMetadata.Builder,PullRequestSourceReferenceUpdatedEventMetadata>
-
builder
public static PullRequestSourceReferenceUpdatedEventMetadata.Builder builder()
-
serializableBuilderClass
public static Class<? extends PullRequestSourceReferenceUpdatedEventMetadata.Builder> serializableBuilderClass()
-
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-