@Generated(value="software.amazon.awssdk:codegen") public final class GetMergeCommitRequest extends CodeCommitRequest implements ToCopyableBuilder<GetMergeCommitRequest.Builder,GetMergeCommitRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetMergeCommitRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GetMergeCommitRequest.Builder |
builder() |
ConflictDetailLevelTypeEnum |
conflictDetailLevel()
The level of conflict detail to use.
|
String |
conflictDetailLevelAsString()
The level of conflict detail to use.
|
ConflictResolutionStrategyTypeEnum |
conflictResolutionStrategy()
Specifies which branch to use when resolving conflicts, or whether to attempt automatically merging two versions
of a file.
|
String |
conflictResolutionStrategyAsString()
Specifies which branch to use when resolving conflicts, or whether to attempt automatically merging two versions
of a file.
|
String |
destinationCommitSpecifier()
The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name
or a full commit ID).
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
repositoryName()
The name of the repository that contains the merge commit about which you want to get information.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetMergeCommitRequest.Builder> |
serializableBuilderClass() |
String |
sourceCommitSpecifier()
The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name
or a full commit ID).
|
GetMergeCommitRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String repositoryName()
The name of the repository that contains the merge commit about which you want to get information.
public final String sourceCommitSpecifier()
The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).
public final String destinationCommitSpecifier()
The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).
public final ConflictDetailLevelTypeEnum conflictDetailLevel()
The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used, which returns a not-mergeable result if the same file has differences in both branches. If LINE_LEVEL is specified, a conflict is considered not mergeable if the same file in both branches has differences on the same line.
If the service returns an enum value that is not available in the current SDK version,
conflictDetailLevel will return ConflictDetailLevelTypeEnum.UNKNOWN_TO_SDK_VERSION. The raw
value returned by the service is available from conflictDetailLevelAsString().
ConflictDetailLevelTypeEnumpublic final String conflictDetailLevelAsString()
The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used, which returns a not-mergeable result if the same file has differences in both branches. If LINE_LEVEL is specified, a conflict is considered not mergeable if the same file in both branches has differences on the same line.
If the service returns an enum value that is not available in the current SDK version,
conflictDetailLevel will return ConflictDetailLevelTypeEnum.UNKNOWN_TO_SDK_VERSION. The raw
value returned by the service is available from conflictDetailLevelAsString().
ConflictDetailLevelTypeEnumpublic final ConflictResolutionStrategyTypeEnum conflictResolutionStrategy()
Specifies which branch to use when resolving conflicts, or whether to attempt automatically merging two versions of a file. The default is NONE, which requires any conflicts to be resolved manually before the merge operation is successful.
If the service returns an enum value that is not available in the current SDK version,
conflictResolutionStrategy will return ConflictResolutionStrategyTypeEnum.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from conflictResolutionStrategyAsString().
ConflictResolutionStrategyTypeEnumpublic final String conflictResolutionStrategyAsString()
Specifies which branch to use when resolving conflicts, or whether to attempt automatically merging two versions of a file. The default is NONE, which requires any conflicts to be resolved manually before the merge operation is successful.
If the service returns an enum value that is not available in the current SDK version,
conflictResolutionStrategy will return ConflictResolutionStrategyTypeEnum.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from conflictResolutionStrategyAsString().
ConflictResolutionStrategyTypeEnumpublic GetMergeCommitRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetMergeCommitRequest.Builder,GetMergeCommitRequest>toBuilder in class CodeCommitRequestpublic static GetMergeCommitRequest.Builder builder()
public static Class<? extends GetMergeCommitRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2022. All rights reserved.