Class DescribeMergeConflictsRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.codecommit.model.CodeCommitRequest
-
- software.amazon.awssdk.services.codecommit.model.DescribeMergeConflictsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DescribeMergeConflictsRequest.Builder,DescribeMergeConflictsRequest>
@Generated("software.amazon.awssdk:codegen") public final class DescribeMergeConflictsRequest extends CodeCommitRequest implements ToCopyableBuilder<DescribeMergeConflictsRequest.Builder,DescribeMergeConflictsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDescribeMergeConflictsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DescribeMergeConflictsRequest.Builderbuilder()ConflictDetailLevelTypeEnumconflictDetailLevel()The level of conflict detail to use.StringconflictDetailLevelAsString()The level of conflict detail to use.ConflictResolutionStrategyTypeEnumconflictResolutionStrategy()Specifies which branch to use when resolving conflicts, or whether to attempt automatically merging two versions of a file.StringconflictResolutionStrategyAsString()Specifies which branch to use when resolving conflicts, or whether to attempt automatically merging two versions of a file.StringdestinationCommitSpecifier()The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfilePath()The path of the target files used to describe the conflicts.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxMergeHunks()The maximum number of merge hunks to include in the output.MergeOptionTypeEnummergeOption()The merge option or strategy you want to use to merge the code.StringmergeOptionAsString()The merge option or strategy you want to use to merge the code.StringnextToken()An enumeration token that, when provided in a request, returns the next batch of the results.StringrepositoryName()The name of the repository where you want to get information about a merge conflict.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends DescribeMergeConflictsRequest.Builder>serializableBuilderClass()StringsourceCommitSpecifier()The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).DescribeMergeConflictsRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
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 you want to get information about a merge conflict.
- Returns:
- The name of the repository where you want to get information about a merge conflict.
-
destinationCommitSpecifier
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).
- Returns:
- The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).
-
sourceCommitSpecifier
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).
- Returns:
- The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).
-
mergeOption
public final 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,
mergeOptionwill returnMergeOptionTypeEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommergeOptionAsString().- Returns:
- The merge option or strategy you want to use to merge the code.
- See Also:
MergeOptionTypeEnum
-
mergeOptionAsString
public final 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,
mergeOptionwill returnMergeOptionTypeEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommergeOptionAsString().- Returns:
- The merge option or strategy you want to use to merge the code.
- See Also:
MergeOptionTypeEnum
-
maxMergeHunks
public final Integer maxMergeHunks()
The maximum number of merge hunks to include in the output.
- Returns:
- The maximum number of merge hunks to include in the output.
-
filePath
public final String filePath()
The path of the target files used to describe the conflicts.
- Returns:
- The path of the target files used to describe the conflicts.
-
conflictDetailLevel
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,
conflictDetailLevelwill returnConflictDetailLevelTypeEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromconflictDetailLevelAsString().- Returns:
- 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.
- See Also:
ConflictDetailLevelTypeEnum
-
conflictDetailLevelAsString
public 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,
conflictDetailLevelwill returnConflictDetailLevelTypeEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromconflictDetailLevelAsString().- Returns:
- 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.
- See Also:
ConflictDetailLevelTypeEnum
-
conflictResolutionStrategy
public 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,
conflictResolutionStrategywill returnConflictResolutionStrategyTypeEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromconflictResolutionStrategyAsString().- Returns:
- 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.
- See Also:
ConflictResolutionStrategyTypeEnum
-
conflictResolutionStrategyAsString
public 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,
conflictResolutionStrategywill returnConflictResolutionStrategyTypeEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromconflictResolutionStrategyAsString().- Returns:
- 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.
- See Also:
ConflictResolutionStrategyTypeEnum
-
nextToken
public final String nextToken()
An enumeration token that, when provided in a request, returns the next batch of the results.
- Returns:
- An enumeration token that, when provided in a request, returns the next batch of the results.
-
toBuilder
public DescribeMergeConflictsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DescribeMergeConflictsRequest.Builder,DescribeMergeConflictsRequest>- Specified by:
toBuilderin classCodeCommitRequest
-
builder
public static DescribeMergeConflictsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends DescribeMergeConflictsRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
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 classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-