@Generated(value="software.amazon.awssdk:codegen") public final class BatchDescribeMergeConflictsRequest extends CodeCommitRequest implements ToCopyableBuilder<BatchDescribeMergeConflictsRequest.Builder,BatchDescribeMergeConflictsRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
BatchDescribeMergeConflictsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static BatchDescribeMergeConflictsRequest.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.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<String> |
filePaths()
The path of the target files used to describe the conflicts.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
maxConflictFiles()
The maximum number of files to include in the output.
|
Integer |
maxMergeHunks()
The maximum number of merge hunks to include in the output.
|
MergeOptionTypeEnum |
mergeOption()
The merge option or strategy you want to use to merge the code.
|
String |
mergeOptionAsString()
The merge option or strategy you want to use to merge the code.
|
String |
nextToken()
An enumeration token that when provided in a request, returns the next batch of the results.
|
String |
repositoryName()
The name of the repository that contains the merge conflicts you want to review.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends BatchDescribeMergeConflictsRequest.Builder> |
serializableBuilderClass() |
String |
sourceCommitSpecifier()
The branch, tag, HEAD, or other fully qualified reference used to identify a commit.
|
BatchDescribeMergeConflictsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String repositoryName()
The name of the repository that contains the merge conflicts you want to review.
public 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 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 MergeOptionTypeEnum mergeOption()
The merge option or strategy you want to use to merge the code.
If the service returns an enum value that is not available in the current SDK version, mergeOption will
return MergeOptionTypeEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from mergeOptionAsString().
MergeOptionTypeEnumpublic String mergeOptionAsString()
The merge option or strategy you want to use to merge the code.
If the service returns an enum value that is not available in the current SDK version, mergeOption will
return MergeOptionTypeEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from mergeOptionAsString().
MergeOptionTypeEnumpublic Integer maxMergeHunks()
The maximum number of merge hunks to include in the output.
public Integer maxConflictFiles()
The maximum number of files to include in the output.
public List<String> filePaths()
The path of the target files used to describe the conflicts. If not specified, the default is all conflict files.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public ConflictDetailLevelTypeEnum conflictDetailLevel()
The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used, which will return a not mergeable result if the same file has differences in both branches. If LINE_LEVEL is specified, a conflict will be 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 String conflictDetailLevelAsString()
The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used, which will return a not mergeable result if the same file has differences in both branches. If LINE_LEVEL is specified, a conflict will be 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 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 will be 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 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 will be 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 String nextToken()
An enumeration token that when provided in a request, returns the next batch of the results.
public BatchDescribeMergeConflictsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<BatchDescribeMergeConflictsRequest.Builder,BatchDescribeMergeConflictsRequest>toBuilder in class CodeCommitRequestpublic static BatchDescribeMergeConflictsRequest.Builder builder()
public static Class<? extends BatchDescribeMergeConflictsRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2019. All rights reserved.