@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateUnreferencedMergeCommitRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateUnreferencedMergeCommitRequest() |
Modifier and Type | Method and Description |
---|---|
CreateUnreferencedMergeCommitRequest |
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 unreferenced commit.
|
String |
getCommitMessage()
The commit message for the unreferenced commit.
|
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 for the person who created the unreferenced commit.
|
Boolean |
getKeepEmptyFolders()
If the commit contains deletions, whether to keep a folder or folder structure if the changes leave the folders
empty.
|
String |
getMergeOption()
The merge option or strategy you want to use to merge the code.
|
String |
getRepositoryName()
The name of the repository where you want to create the unreferenced merge commit.
|
String |
getSourceCommitSpecifier()
The branch, tag, HEAD, or other fully qualified reference used to identify a commit.
|
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 unreferenced commit.
|
void |
setCommitMessage(String commitMessage)
The commit message for the unreferenced commit.
|
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 for the person who created the unreferenced commit.
|
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 |
setMergeOption(String mergeOption)
The merge option or strategy you want to use to merge the code.
|
void |
setRepositoryName(String repositoryName)
The name of the repository where you want to create the unreferenced merge commit.
|
void |
setSourceCommitSpecifier(String sourceCommitSpecifier)
The branch, tag, HEAD, or other fully qualified reference used to identify a commit.
|
String |
toString()
Returns a string representation of this object.
|
CreateUnreferencedMergeCommitRequest |
withAuthorName(String authorName)
The name of the author who created the unreferenced commit.
|
CreateUnreferencedMergeCommitRequest |
withCommitMessage(String commitMessage)
The commit message for the unreferenced commit.
|
CreateUnreferencedMergeCommitRequest |
withConflictDetailLevel(ConflictDetailLevelTypeEnum conflictDetailLevel)
The level of conflict detail to use.
|
CreateUnreferencedMergeCommitRequest |
withConflictDetailLevel(String conflictDetailLevel)
The level of conflict detail to use.
|
CreateUnreferencedMergeCommitRequest |
withConflictResolution(ConflictResolution conflictResolution)
A list of inputs to use when resolving conflicts during a merge if AUTOMERGE is chosen as the conflict resolution
strategy.
|
CreateUnreferencedMergeCommitRequest |
withConflictResolutionStrategy(ConflictResolutionStrategyTypeEnum conflictResolutionStrategy)
Specifies which branch to use when resolving conflicts, or whether to attempt automatically merging two versions
of a file.
|
CreateUnreferencedMergeCommitRequest |
withConflictResolutionStrategy(String conflictResolutionStrategy)
Specifies which branch to use when resolving conflicts, or whether to attempt automatically merging two versions
of a file.
|
CreateUnreferencedMergeCommitRequest |
withDestinationCommitSpecifier(String destinationCommitSpecifier)
The branch, tag, HEAD, or other fully qualified reference used to identify a commit.
|
CreateUnreferencedMergeCommitRequest |
withEmail(String email)
The email address for the person who created the unreferenced commit.
|
CreateUnreferencedMergeCommitRequest |
withKeepEmptyFolders(Boolean keepEmptyFolders)
If the commit contains deletions, whether to keep a folder or folder structure if the changes leave the folders
empty.
|
CreateUnreferencedMergeCommitRequest |
withMergeOption(MergeOptionTypeEnum mergeOption)
The merge option or strategy you want to use to merge the code.
|
CreateUnreferencedMergeCommitRequest |
withMergeOption(String mergeOption)
The merge option or strategy you want to use to merge the code.
|
CreateUnreferencedMergeCommitRequest |
withRepositoryName(String repositoryName)
The name of the repository where you want to create the unreferenced merge commit.
|
CreateUnreferencedMergeCommitRequest |
withSourceCommitSpecifier(String sourceCommitSpecifier)
The branch, tag, HEAD, or other fully qualified reference used to identify a commit.
|
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 CreateUnreferencedMergeCommitRequest()
public void setRepositoryName(String repositoryName)
The name of the repository where you want to create the unreferenced merge commit.
repositoryName
- The name of the repository where you want to create the unreferenced merge commit.public String getRepositoryName()
The name of the repository where you want to create the unreferenced merge commit.
public CreateUnreferencedMergeCommitRequest withRepositoryName(String repositoryName)
The name of the repository where you want to create the unreferenced merge commit.
repositoryName
- The name of the repository where you want to create the unreferenced merge commit.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 CreateUnreferencedMergeCommitRequest 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 CreateUnreferencedMergeCommitRequest 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 setMergeOption(String mergeOption)
The merge option or strategy you want to use to merge the code.
mergeOption
- The merge option or strategy you want to use to merge the code.MergeOptionTypeEnum
public String getMergeOption()
The merge option or strategy you want to use to merge the code.
MergeOptionTypeEnum
public CreateUnreferencedMergeCommitRequest withMergeOption(String mergeOption)
The merge option or strategy you want to use to merge the code.
mergeOption
- The merge option or strategy you want to use to merge the code.MergeOptionTypeEnum
public CreateUnreferencedMergeCommitRequest withMergeOption(MergeOptionTypeEnum mergeOption)
The merge option or strategy you want to use to merge the code.
mergeOption
- The merge option or strategy you want to use to merge the code.MergeOptionTypeEnum
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 CreateUnreferencedMergeCommitRequest 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 CreateUnreferencedMergeCommitRequest 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 CreateUnreferencedMergeCommitRequest 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 CreateUnreferencedMergeCommitRequest 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 unreferenced commit. This information will be used as both the author and committer for the commit.
authorName
- The name of the author who created the unreferenced 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 unreferenced commit. This information will be used as both the author and committer for the commit.
public CreateUnreferencedMergeCommitRequest withAuthorName(String authorName)
The name of the author who created the unreferenced commit. This information will be used as both the author and committer for the commit.
authorName
- The name of the author who created the unreferenced commit. This information will be used as both the
author and committer for the commit.public void setEmail(String email)
The email address for the person who created the unreferenced commit.
email
- The email address for the person who created the unreferenced commit.public String getEmail()
The email address for the person who created the unreferenced commit.
public CreateUnreferencedMergeCommitRequest withEmail(String email)
The email address for the person who created the unreferenced commit.
email
- The email address for the person who created the unreferenced commit.public void setCommitMessage(String commitMessage)
The commit message for the unreferenced commit.
commitMessage
- The commit message for the unreferenced commit.public String getCommitMessage()
The commit message for the unreferenced commit.
public CreateUnreferencedMergeCommitRequest withCommitMessage(String commitMessage)
The commit message for the unreferenced commit.
commitMessage
- The commit message for the unreferenced commit.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 CreateUnreferencedMergeCommitRequest 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 CreateUnreferencedMergeCommitRequest 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 CreateUnreferencedMergeCommitRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.