@Generated(value="software.amazon.awssdk:codegen") public final class MergePullRequestBySquashRequest extends CodeCommitRequest implements ToCopyableBuilder<MergePullRequestBySquashRequest.Builder,MergePullRequestBySquashRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
MergePullRequestBySquashRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
authorName()
The name of the author who created the commit.
|
static MergePullRequestBySquashRequest.Builder |
builder() |
String |
commitMessage()
The commit message to include in the commit information for the merge.
|
ConflictDetailLevelTypeEnum |
conflictDetailLevel()
The level of conflict detail to use.
|
String |
conflictDetailLevelAsString()
The level of conflict detail to use.
|
ConflictResolution |
conflictResolution()
If AUTOMERGE is the conflict resolution strategy, a list of inputs to use when resolving conflicts during a
merge.
|
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 |
email()
The email address of the person merging the branches.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
keepEmptyFolders()
If the commit contains deletions, whether to keep a folder or folder structure if the changes leave the folders
empty.
|
String |
pullRequestId()
The system-generated ID of the pull request.
|
String |
repositoryName()
The name of the repository where the pull request was created.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends MergePullRequestBySquashRequest.Builder> |
serializableBuilderClass() |
String |
sourceCommitId()
The full commit ID of the original or updated commit in the pull request source branch.
|
MergePullRequestBySquashRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String pullRequestId()
The system-generated ID of the pull request. To get this ID, use ListPullRequests.
public final String repositoryName()
The name of the repository where the pull request was created.
public final String sourceCommitId()
The full commit ID of the original or updated commit in the pull request source branch. Pass this value if you want an exception thrown if the current commit ID of the tip of the source branch does not match this 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 final String commitMessage()
The commit message to include in the commit information for the merge.
public final String authorName()
The name of the author who created the commit. This information is used as both the author and committer for the commit.
public final String email()
The email address of the person merging the branches. This information is used in the commit information for the merge.
public final Boolean keepEmptyFolders()
If the commit contains deletions, whether to keep a folder or folder structure if the changes leave the folders empty. If true, a .gitkeep file is created for empty folders. The default is false.
public final ConflictResolution conflictResolution()
If AUTOMERGE is the conflict resolution strategy, a list of inputs to use when resolving conflicts during a merge.
public MergePullRequestBySquashRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<MergePullRequestBySquashRequest.Builder,MergePullRequestBySquashRequest>toBuilder in class CodeCommitRequestpublic static MergePullRequestBySquashRequest.Builder builder()
public static Class<? extends MergePullRequestBySquashRequest.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 © 2023. All rights reserved.