Class GetMergeCommitResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.codecommit.model.CodeCommitResponse
-
- software.amazon.awssdk.services.codecommit.model.GetMergeCommitResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetMergeCommitResponse.Builder,GetMergeCommitResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetMergeCommitResponse extends CodeCommitResponse implements ToCopyableBuilder<GetMergeCommitResponse.Builder,GetMergeCommitResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetMergeCommitResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringbaseCommitId()The commit ID of the merge base.static GetMergeCommitResponse.Builderbuilder()StringdestinationCommitId()The commit ID of the destination commit specifier that was used in the merge evaluation.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringmergedCommitId()The commit ID for the merge commit created when the source branch was merged into the destination branch.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends GetMergeCommitResponse.Builder>serializableBuilderClass()StringsourceCommitId()The commit ID of the source commit specifier that was used in the merge evaluation.GetMergeCommitResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.codecommit.model.CodeCommitResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
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
-
sourceCommitId
public final String sourceCommitId()
The commit ID of the source commit specifier that was used in the merge evaluation.
- Returns:
- The commit ID of the source commit specifier that was used in the merge evaluation.
-
destinationCommitId
public final String destinationCommitId()
The commit ID of the destination commit specifier that was used in the merge evaluation.
- Returns:
- The commit ID of the destination commit specifier that was used in the merge evaluation.
-
baseCommitId
public final String baseCommitId()
The commit ID of the merge base.
- Returns:
- The commit ID of the merge base.
-
mergedCommitId
public final String mergedCommitId()
The commit ID for the merge commit created when the source branch was merged into the destination branch. If the fast-forward merge strategy was used, there is no merge commit.
- Returns:
- The commit ID for the merge commit created when the source branch was merged into the destination branch. If the fast-forward merge strategy was used, there is no merge commit.
-
toBuilder
public GetMergeCommitResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetMergeCommitResponse.Builder,GetMergeCommitResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetMergeCommitResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetMergeCommitResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-