@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetMergeOptionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetMergeOptionsRequest() |
Modifier and Type | Method and Description |
---|---|
GetMergeOptionsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getConflictDetailLevel()
The level of conflict detail to use.
|
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 |
getRepositoryName()
The name of the repository that contains the commits about which you want to get merge options.
|
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).
|
int |
hashCode() |
void |
setConflictDetailLevel(String conflictDetailLevel)
The level of conflict detail to use.
|
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 |
setRepositoryName(String repositoryName)
The name of the repository that contains the commits about which you want to get merge options.
|
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).
|
String |
toString()
Returns a string representation of this object.
|
GetMergeOptionsRequest |
withConflictDetailLevel(ConflictDetailLevelTypeEnum conflictDetailLevel)
The level of conflict detail to use.
|
GetMergeOptionsRequest |
withConflictDetailLevel(String conflictDetailLevel)
The level of conflict detail to use.
|
GetMergeOptionsRequest |
withConflictResolutionStrategy(ConflictResolutionStrategyTypeEnum conflictResolutionStrategy)
Specifies which branch to use when resolving conflicts, or whether to attempt automatically merging two versions
of a file.
|
GetMergeOptionsRequest |
withConflictResolutionStrategy(String conflictResolutionStrategy)
Specifies which branch to use when resolving conflicts, or whether to attempt automatically merging two versions
of a file.
|
GetMergeOptionsRequest |
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).
|
GetMergeOptionsRequest |
withRepositoryName(String repositoryName)
The name of the repository that contains the commits about which you want to get merge options.
|
GetMergeOptionsRequest |
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).
|
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 that contains the commits about which you want to get merge options.
repositoryName
- The name of the repository that contains the commits about which you want to get merge options.public String getRepositoryName()
The name of the repository that contains the commits about which you want to get merge options.
public GetMergeOptionsRequest withRepositoryName(String repositoryName)
The name of the repository that contains the commits about which you want to get merge options.
repositoryName
- The name of the repository that contains the commits about which you want to get merge options.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 GetMergeOptionsRequest 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 GetMergeOptionsRequest 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 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 GetMergeOptionsRequest 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 GetMergeOptionsRequest 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 GetMergeOptionsRequest 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 GetMergeOptionsRequest 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 String toString()
toString
in class Object
Object.toString()
public GetMergeOptionsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()