@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()
If AUTOMERGE is the conflict resolution strategy, a list of inputs to use when resolving conflicts during a
merge.
|
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 (for example, a branch name
or a full commit ID).
|
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 (for example, a branch name
or a full commit ID).
|
String |
getTargetBranch()
The branch where the merge is 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)
If AUTOMERGE is the conflict resolution strategy, a list of inputs to use when resolving conflicts during a
merge.
|
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 (for example, a branch name
or a full commit ID).
|
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 (for example, a branch name
or a full commit ID).
|
void |
setTargetBranch(String targetBranch)
The branch where the merge is 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)
If AUTOMERGE is the conflict resolution strategy, a list of inputs to use when resolving conflicts during a
merge.
|
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 (for example, a branch name
or a full commit ID).
|
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 (for example, a branch name
or a full commit ID).
|
MergeBranchesBySquashRequest |
withTargetBranch(String targetBranch)
The branch where the merge is 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 is applied.
targetBranch
- The branch where the merge is applied.public String getTargetBranch()
The branch where the merge is applied.
public MergeBranchesBySquashRequest withTargetBranch(String targetBranch)
The branch where the merge is applied.
targetBranch
- The branch where the merge is applied.public void setConflictDetailLevel(String 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.
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.ConflictDetailLevelTypeEnum
public String getConflictDetailLevel()
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.
ConflictDetailLevelTypeEnum
public MergeBranchesBySquashRequest withConflictDetailLevel(String 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.
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.ConflictDetailLevelTypeEnum
public MergeBranchesBySquashRequest withConflictDetailLevel(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.
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.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 is 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 is 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 is 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 is 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 is 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 is 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 is successful.ConflictResolutionStrategyTypeEnum
public void setAuthorName(String authorName)
The name of the author who created the commit. This information is used as both the author and committer for the commit.
authorName
- The name of the author who created the commit. This information is used as both the author and committer
for the commit.public String getAuthorName()
The name of the author who created the commit. This information is 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 is used as both the author and committer for the commit.
authorName
- The name of the author who created the commit. This information is 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 is used in the commit information for the merge.
email
- The email address of the person merging the branches. This information is used in the commit information
for the merge.public String getEmail()
The email address of the person merging the branches. This information is used in the commit information for the merge.
public MergeBranchesBySquashRequest withEmail(String email)
The email address of the person merging the branches. This information is used in the commit information for the merge.
email
- The email address of the person merging the branches. This information is 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 is 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 is 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 is 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 is 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 is 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 is created for empty folders. The default is false.
public void setConflictResolution(ConflictResolution conflictResolution)
If AUTOMERGE is the conflict resolution strategy, a list of inputs to use when resolving conflicts during a merge.
conflictResolution
- If AUTOMERGE is the conflict resolution strategy, a list of inputs to use when resolving conflicts during
a merge.public ConflictResolution getConflictResolution()
If AUTOMERGE is the conflict resolution strategy, a list of inputs to use when resolving conflicts during a merge.
public MergeBranchesBySquashRequest withConflictResolution(ConflictResolution conflictResolution)
If AUTOMERGE is the conflict resolution strategy, a list of inputs to use when resolving conflicts during a merge.
conflictResolution
- If AUTOMERGE is the conflict resolution strategy, a list of inputs to use when resolving conflicts during
a merge.public String toString()
toString
in class Object
Object.toString()
public MergeBranchesBySquashRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()