Class PullRequestMergedStateChangedEventMetadata
- java.lang.Object
-
- software.amazon.awssdk.services.codecommit.model.PullRequestMergedStateChangedEventMetadata
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<PullRequestMergedStateChangedEventMetadata.Builder,PullRequestMergedStateChangedEventMetadata>
@Generated("software.amazon.awssdk:codegen") public final class PullRequestMergedStateChangedEventMetadata extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PullRequestMergedStateChangedEventMetadata.Builder,PullRequestMergedStateChangedEventMetadata>
Returns information about the change in the merge state for a pull request event.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePullRequestMergedStateChangedEventMetadata.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PullRequestMergedStateChangedEventMetadata.Builderbuilder()StringdestinationReference()The name of the branch that the pull request is merged into.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()MergeMetadatamergeMetadata()Information about the merge state change event.StringrepositoryName()The name of the repository where the pull request was created.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends PullRequestMergedStateChangedEventMetadata.Builder>serializableBuilderClass()PullRequestMergedStateChangedEventMetadata.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 created.
- Returns:
- The name of the repository where the pull request was created.
-
destinationReference
public final String destinationReference()
The name of the branch that the pull request is merged into.
- Returns:
- The name of the branch that the pull request is merged into.
-
mergeMetadata
public final MergeMetadata mergeMetadata()
Information about the merge state change event.
- Returns:
- Information about the merge state change event.
-
toBuilder
public PullRequestMergedStateChangedEventMetadata.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PullRequestMergedStateChangedEventMetadata.Builder,PullRequestMergedStateChangedEventMetadata>
-
builder
public static PullRequestMergedStateChangedEventMetadata.Builder builder()
-
serializableBuilderClass
public static Class<? extends PullRequestMergedStateChangedEventMetadata.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
-
-