@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetMergeConflictsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetMergeConflictsResult() |
Modifier and Type | Method and Description |
---|---|
GetMergeConflictsResult |
clone() |
boolean |
equals(Object obj) |
String |
getBaseCommitId()
The commit ID of the merge base.
|
List<ConflictMetadata> |
getConflictMetadataList()
A list of metadata for any conflicting files.
|
String |
getDestinationCommitId()
The commit ID of the destination commit specifier that was used in the merge evaluation.
|
Boolean |
getMergeable()
A Boolean value that indicates whether the code is mergeable by the specified merge option.
|
String |
getNextToken()
An enumeration token that can be used in a request to return the next batch of the results.
|
String |
getSourceCommitId()
The commit ID of the source commit specifier that was used in the merge evaluation.
|
int |
hashCode() |
Boolean |
isMergeable()
A Boolean value that indicates whether the code is mergeable by the specified merge option.
|
void |
setBaseCommitId(String baseCommitId)
The commit ID of the merge base.
|
void |
setConflictMetadataList(Collection<ConflictMetadata> conflictMetadataList)
A list of metadata for any conflicting files.
|
void |
setDestinationCommitId(String destinationCommitId)
The commit ID of the destination commit specifier that was used in the merge evaluation.
|
void |
setMergeable(Boolean mergeable)
A Boolean value that indicates whether the code is mergeable by the specified merge option.
|
void |
setNextToken(String nextToken)
An enumeration token that can be used in a request to return the next batch of the results.
|
void |
setSourceCommitId(String sourceCommitId)
The commit ID of the source commit specifier that was used in the merge evaluation.
|
String |
toString()
Returns a string representation of this object.
|
GetMergeConflictsResult |
withBaseCommitId(String baseCommitId)
The commit ID of the merge base.
|
GetMergeConflictsResult |
withConflictMetadataList(Collection<ConflictMetadata> conflictMetadataList)
A list of metadata for any conflicting files.
|
GetMergeConflictsResult |
withConflictMetadataList(ConflictMetadata... conflictMetadataList)
A list of metadata for any conflicting files.
|
GetMergeConflictsResult |
withDestinationCommitId(String destinationCommitId)
The commit ID of the destination commit specifier that was used in the merge evaluation.
|
GetMergeConflictsResult |
withMergeable(Boolean mergeable)
A Boolean value that indicates whether the code is mergeable by the specified merge option.
|
GetMergeConflictsResult |
withNextToken(String nextToken)
An enumeration token that can be used in a request to return the next batch of the results.
|
GetMergeConflictsResult |
withSourceCommitId(String sourceCommitId)
The commit ID of the source commit specifier that was used in the merge evaluation.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setMergeable(Boolean mergeable)
A Boolean value that indicates whether the code is mergeable by the specified merge option.
mergeable
- A Boolean value that indicates whether the code is mergeable by the specified merge option.public Boolean getMergeable()
A Boolean value that indicates whether the code is mergeable by the specified merge option.
public GetMergeConflictsResult withMergeable(Boolean mergeable)
A Boolean value that indicates whether the code is mergeable by the specified merge option.
mergeable
- A Boolean value that indicates whether the code is mergeable by the specified merge option.public Boolean isMergeable()
A Boolean value that indicates whether the code is mergeable by the specified merge option.
public void setDestinationCommitId(String destinationCommitId)
The commit ID of the destination commit specifier that was used in the merge evaluation.
destinationCommitId
- The commit ID of the destination commit specifier that was used in the merge evaluation.public String getDestinationCommitId()
The commit ID of the destination commit specifier that was used in the merge evaluation.
public GetMergeConflictsResult withDestinationCommitId(String destinationCommitId)
The commit ID of the destination commit specifier that was used in the merge evaluation.
destinationCommitId
- The commit ID of the destination commit specifier that was used in the merge evaluation.public void setSourceCommitId(String sourceCommitId)
The commit ID of the source commit specifier that was used in the merge evaluation.
sourceCommitId
- The commit ID of the source commit specifier that was used in the merge evaluation.public String getSourceCommitId()
The commit ID of the source commit specifier that was used in the merge evaluation.
public GetMergeConflictsResult withSourceCommitId(String sourceCommitId)
The commit ID of the source commit specifier that was used in the merge evaluation.
sourceCommitId
- The commit ID of the source commit specifier that was used in the merge evaluation.public void setBaseCommitId(String baseCommitId)
The commit ID of the merge base.
baseCommitId
- The commit ID of the merge base.public String getBaseCommitId()
The commit ID of the merge base.
public GetMergeConflictsResult withBaseCommitId(String baseCommitId)
The commit ID of the merge base.
baseCommitId
- The commit ID of the merge base.public List<ConflictMetadata> getConflictMetadataList()
A list of metadata for any conflicting files. If the specified merge strategy is FAST_FORWARD_MERGE, this list is always empty.
public void setConflictMetadataList(Collection<ConflictMetadata> conflictMetadataList)
A list of metadata for any conflicting files. If the specified merge strategy is FAST_FORWARD_MERGE, this list is always empty.
conflictMetadataList
- A list of metadata for any conflicting files. If the specified merge strategy is FAST_FORWARD_MERGE, this
list is always empty.public GetMergeConflictsResult withConflictMetadataList(ConflictMetadata... conflictMetadataList)
A list of metadata for any conflicting files. If the specified merge strategy is FAST_FORWARD_MERGE, this list is always empty.
NOTE: This method appends the values to the existing list (if any). Use
setConflictMetadataList(java.util.Collection)
or withConflictMetadataList(java.util.Collection)
if you want to override the existing values.
conflictMetadataList
- A list of metadata for any conflicting files. If the specified merge strategy is FAST_FORWARD_MERGE, this
list is always empty.public GetMergeConflictsResult withConflictMetadataList(Collection<ConflictMetadata> conflictMetadataList)
A list of metadata for any conflicting files. If the specified merge strategy is FAST_FORWARD_MERGE, this list is always empty.
conflictMetadataList
- A list of metadata for any conflicting files. If the specified merge strategy is FAST_FORWARD_MERGE, this
list is always empty.public void setNextToken(String nextToken)
An enumeration token that can be used in a request to return the next batch of the results.
nextToken
- An enumeration token that can be used in a request to return the next batch of the results.public String getNextToken()
An enumeration token that can be used in a request to return the next batch of the results.
public GetMergeConflictsResult withNextToken(String nextToken)
An enumeration token that can be used in a request to return the next batch of the results.
nextToken
- An enumeration token that can be used in a request to return the next batch of the results.public String toString()
toString
in class Object
Object.toString()
public GetMergeConflictsResult clone()