@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MergeBranchesBySquashRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
MergeBranchesBySquashRequest() |
Modifier and Type | Method and Description |
---|---|
MergeBranchesBySquashRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAuthorName()
The name of the author who created the commit.
|
String |
getCommitMessage()
The commit message for the merge.
|
String |
getConflictDetailLevel()
The level of conflict detail to use.
|
ConflictResolution |
getConflictResolution()
A list of inputs to use when resolving conflicts during a merge if AUTOMERGE is chosen as the conflict resolution
strategy.
|
String |
getConflictResolutionStrategy()
Specifies which branch to use when resolving conflicts, or whether to attempt automatically merging two versions
of a file.
|
String |
getDestinationCommitSpecifier()
The branch, tag, HEAD, or other fully qualified reference used to identify a commit.
|
String |
getEmail()
The email address of the person merging the branches.
|
Boolean |
getKeepEmptyFolders()
If the commit contains deletions, whether to keep a folder or folder structure if the changes leave the folders
empty.
|
String |
getRepositoryName()
The name of the repository where you want to merge two branches.
|
String |
getSourceCommitSpecifier()
The branch, tag, HEAD, or other fully qualified reference used to identify a commit.
|
String |
getTargetBranch()
The branch where the merge will be applied.
|
int |
hashCode() |
Boolean |
isKeepEmptyFolders()
If the commit contains deletions, whether to keep a folder or folder structure if the changes leave the folders
empty.
|
void |
setAuthorName(String authorName)
The name of the author who created the commit.
|
void |
setCommitMessage(String commitMessage)
The commit message for the merge.
|
void |
setConflictDetailLevel(String conflictDetailLevel)
The level of conflict detail to use.
|
void |
setConflictResolution(ConflictResolution conflictResolution)
A list of inputs to use when resolving conflicts during a merge if AUTOMERGE is chosen as the conflict resolution
strategy.
|
void |
setConflictResolutionStrategy(String conflictResolutionStrategy)
Specifies which branch to use when resolving conflicts, or whether to attempt automatically merging two versions
of a file.
|
void |
setDestinationCommitSpecifier(String destinationCommitSpecifier)
The branch, tag, HEAD, or other fully qualified reference used to identify a commit.
|
void |
setEmail(String email)
The email address of the person merging the branches.
|
void |
setKeepEmptyFolders(Boolean keepEmptyFolders)
If the commit contains deletions, whether to keep a folder or folder structure if the changes leave the folders
empty.
|
void |
setRepositoryName(String repositoryName)
The name of the repository where you want to merge two branches.
|
void |
setSourceCommitSpecifier(String sourceCommitSpecifier)
The branch, tag, HEAD, or other fully qualified reference used to identify a commit.
|
void |
setTargetBranch(String targetBranch)
The branch where the merge will be applied.
|
String |
toString()
Returns a string representation of this object.
|
MergeBranchesBySquashRequest |
withAuthorName(String authorName)
The name of the author who created the commit.
|
MergeBranchesBySquashRequest |
withCommitMessage(String commitMessage)
The commit message for the merge.
|
MergeBranchesBySquashRequest |
withConflictDetailLevel(ConflictDetailLevelTypeEnum conflictDetailLevel)
The level of conflict detail to use.
|
MergeBranchesBySquashRequest |
withConflictDetailLevel(String conflictDetailLevel)
The level of conflict detail to use.
|
MergeBranchesBySquashRequest |
withConflictResolution(ConflictResolution conflictResolution)
A list of inputs to use when resolving conflicts during a merge if AUTOMERGE is chosen as the conflict resolution
strategy.
|
MergeBranchesBySquashRequest |
withConflictResolutionStrategy(ConflictResolutionStrategyTypeEnum conflictResolutionStrategy)
Specifies which branch to use when resolving conflicts, or whether to attempt automatically merging two versions
of a file.
|
MergeBranchesBySquashRequest |
withConflictResolutionStrategy(String conflictResolutionStrategy)
Specifies which branch to use when resolving conflicts, or whether to attempt automatically merging two versions
of a file.
|
MergeBranchesBySquashRequest |
withDestinationCommitSpecifier(String destinationCommitSpecifier)
The branch, tag, HEAD, or other fully qualified reference used to identify a commit.
|
MergeBranchesBySquashRequest |
withEmail(String email)
The email address of the person merging the branches.
|
MergeBranchesBySquashRequest |
withKeepEmptyFolders(Boolean keepEmptyFolders)
If the commit contains deletions, whether to keep a folder or folder structure if the changes leave the folders
empty.
|
MergeBranchesBySquashRequest |
withRepositoryName(String repositoryName)
The name of the repository where you want to merge two branches.
|
MergeBranchesBySquashRequest |
withSourceCommitSpecifier(String sourceCommitSpecifier)
The branch, tag, HEAD, or other fully qualified reference used to identify a commit.
|
MergeBranchesBySquashRequest |
withTargetBranch(String targetBranch)
The branch where the merge will be applied.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setRepositoryName(String repositoryName)
The name of the repository where you want to merge two branches.
repositoryName
- The name of the repository where you want to merge two branches.public String getRepositoryName()
The name of the repository where you want to merge two branches.
public MergeBranchesBySquashRequest withRepositoryName(String repositoryName)
The name of the repository where you want to merge two branches.
repositoryName
- The name of the repository where you want to merge two branches.public void setSourceCommitSpecifier(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.
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 String getSourceCommitSpecifier()
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 MergeBranchesBySquashRequest withSourceCommitSpecifier(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.
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 void setDestinationCommitSpecifier(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.
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 getDestinationCommitSpecifier()
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 MergeBranchesBySquashRequest withDestinationCommitSpecifier(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.
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 void setTargetBranch(String targetBranch)
The branch where the merge will be applied.
targetBranch
- The branch where the merge will be applied.public String getTargetBranch()
The branch where the merge will be applied.
public MergeBranchesBySquashRequest withTargetBranch(String targetBranch)
The branch where the merge will be applied.
targetBranch
- The branch where the merge will be applied.public void setConflictDetailLevel(String 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.
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.ConflictDetailLevelTypeEnum
public String getConflictDetailLevel()
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.
ConflictDetailLevelTypeEnum
public MergeBranchesBySquashRequest withConflictDetailLevel(String 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.
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.ConflictDetailLevelTypeEnum
public MergeBranchesBySquashRequest withConflictDetailLevel(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.
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.ConflictDetailLevelTypeEnum
public void setConflictResolutionStrategy(String 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.
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.ConflictResolutionStrategyTypeEnum
public String getConflictResolutionStrategy()
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.
ConflictResolutionStrategyTypeEnum
public MergeBranchesBySquashRequest withConflictResolutionStrategy(String 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.
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.ConflictResolutionStrategyTypeEnum
public MergeBranchesBySquashRequest withConflictResolutionStrategy(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.
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.ConflictResolutionStrategyTypeEnum
public void setAuthorName(String authorName)
The name of the author who created the commit. This information will be used as both the author and committer for the commit.
authorName
- The name of the author who created the commit. This information will be used as both the author and
committer for the commit.public String getAuthorName()
The name of the author who created the commit. This information will be used as both the author and committer for the commit.
public MergeBranchesBySquashRequest withAuthorName(String authorName)
The name of the author who created the commit. This information will be used as both the author and committer for the commit.
authorName
- The name of the author who created the commit. This information will be used as both the author and
committer for the commit.public void setEmail(String email)
The email address of the person merging the branches. This information will be used in the commit information for the merge.
email
- The email address of the person merging the branches. This information will be used in the commit
information for the merge.public String getEmail()
The email address of the person merging the branches. This information will be used in the commit information for the merge.
public MergeBranchesBySquashRequest withEmail(String email)
The email address of the person merging the branches. This information will be used in the commit information for the merge.
email
- The email address of the person merging the branches. This information will be used in the commit
information for the merge.public void setCommitMessage(String commitMessage)
The commit message for the merge.
commitMessage
- The commit message for the merge.public String getCommitMessage()
The commit message for the merge.
public MergeBranchesBySquashRequest withCommitMessage(String commitMessage)
The commit message for the merge.
commitMessage
- The commit message for the merge.public void setKeepEmptyFolders(Boolean keepEmptyFolders)
If the commit contains deletions, whether to keep a folder or folder structure if the changes leave the folders empty. If this is specified as true, a .gitkeep file will be created for empty folders. The default is false.
keepEmptyFolders
- If the commit contains deletions, whether to keep a folder or folder structure if the changes leave the
folders empty. If this is specified as true, a .gitkeep file will be created for empty folders. The
default is false.public Boolean getKeepEmptyFolders()
If the commit contains deletions, whether to keep a folder or folder structure if the changes leave the folders empty. If this is specified as true, a .gitkeep file will be created for empty folders. The default is false.
public MergeBranchesBySquashRequest withKeepEmptyFolders(Boolean keepEmptyFolders)
If the commit contains deletions, whether to keep a folder or folder structure if the changes leave the folders empty. If this is specified as true, a .gitkeep file will be created for empty folders. The default is false.
keepEmptyFolders
- If the commit contains deletions, whether to keep a folder or folder structure if the changes leave the
folders empty. If this is specified as true, a .gitkeep file will be created for empty folders. The
default is false.public Boolean isKeepEmptyFolders()
If the commit contains deletions, whether to keep a folder or folder structure if the changes leave the folders empty. If this is specified as true, a .gitkeep file will be created for empty folders. The default is false.
public void setConflictResolution(ConflictResolution conflictResolution)
A list of inputs to use when resolving conflicts during a merge if AUTOMERGE is chosen as the conflict resolution strategy.
conflictResolution
- A list of inputs to use when resolving conflicts during a merge if AUTOMERGE is chosen as the conflict
resolution strategy.public ConflictResolution getConflictResolution()
A list of inputs to use when resolving conflicts during a merge if AUTOMERGE is chosen as the conflict resolution strategy.
public MergeBranchesBySquashRequest withConflictResolution(ConflictResolution conflictResolution)
A list of inputs to use when resolving conflicts during a merge if AUTOMERGE is chosen as the conflict resolution strategy.
conflictResolution
- A list of inputs to use when resolving conflicts during a merge if AUTOMERGE is chosen as the conflict
resolution strategy.public String toString()
toString
in class Object
Object.toString()
public MergeBranchesBySquashRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.