Class MergeHunkDetail
- java.lang.Object
-
- software.amazon.awssdk.services.codecommit.model.MergeHunkDetail
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<MergeHunkDetail.Builder,MergeHunkDetail>
@Generated("software.amazon.awssdk:codegen") public final class MergeHunkDetail extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MergeHunkDetail.Builder,MergeHunkDetail>
Information about the details of a merge hunk that contains a conflict in a merge or pull request operation.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceMergeHunkDetail.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MergeHunkDetail.Builderbuilder()IntegerendLine()The end position of the hunk in the merge result.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringhunkContent()The base-64 encoded content of the hunk merged region that might contain a conflict.List<SdkField<?>>sdkFields()static Class<? extends MergeHunkDetail.Builder>serializableBuilderClass()IntegerstartLine()The start position of the hunk in the merge result.MergeHunkDetail.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
-
startLine
public final Integer startLine()
The start position of the hunk in the merge result.
- Returns:
- The start position of the hunk in the merge result.
-
endLine
public final Integer endLine()
The end position of the hunk in the merge result.
- Returns:
- The end position of the hunk in the merge result.
-
hunkContent
public final String hunkContent()
The base-64 encoded content of the hunk merged region that might contain a conflict.
- Returns:
- The base-64 encoded content of the hunk merged region that might contain a conflict.
-
toBuilder
public MergeHunkDetail.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<MergeHunkDetail.Builder,MergeHunkDetail>
-
builder
public static MergeHunkDetail.Builder builder()
-
serializableBuilderClass
public static Class<? extends MergeHunkDetail.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.
-
-