@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetMergeOptionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetMergeOptionsResult() |
Modifier and Type | Method and Description |
---|---|
GetMergeOptionsResult |
clone() |
boolean |
equals(Object obj) |
String |
getBaseCommitId()
The commit ID of the merge base.
|
String |
getDestinationCommitId()
The commit ID of the destination commit specifier that was used in the merge evaluation.
|
List<String> |
getMergeOptions()
The merge option or strategy used to merge the code.
|
String |
getSourceCommitId()
The commit ID of the source commit specifier that was used in the merge evaluation.
|
int |
hashCode() |
void |
setBaseCommitId(String baseCommitId)
The commit ID of the merge base.
|
void |
setDestinationCommitId(String destinationCommitId)
The commit ID of the destination commit specifier that was used in the merge evaluation.
|
void |
setMergeOptions(Collection<String> mergeOptions)
The merge option or strategy used to merge the code.
|
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.
|
GetMergeOptionsResult |
withBaseCommitId(String baseCommitId)
The commit ID of the merge base.
|
GetMergeOptionsResult |
withDestinationCommitId(String destinationCommitId)
The commit ID of the destination commit specifier that was used in the merge evaluation.
|
GetMergeOptionsResult |
withMergeOptions(Collection<String> mergeOptions)
The merge option or strategy used to merge the code.
|
GetMergeOptionsResult |
withMergeOptions(MergeOptionTypeEnum... mergeOptions)
The merge option or strategy used to merge the code.
|
GetMergeOptionsResult |
withMergeOptions(String... mergeOptions)
The merge option or strategy used to merge the code.
|
GetMergeOptionsResult |
withSourceCommitId(String sourceCommitId)
The commit ID of the source commit specifier that was used in the merge evaluation.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<String> getMergeOptions()
The merge option or strategy used to merge the code.
MergeOptionTypeEnum
public void setMergeOptions(Collection<String> mergeOptions)
The merge option or strategy used to merge the code.
mergeOptions
- The merge option or strategy used to merge the code.MergeOptionTypeEnum
public GetMergeOptionsResult withMergeOptions(String... mergeOptions)
The merge option or strategy used to merge the code.
NOTE: This method appends the values to the existing list (if any). Use
setMergeOptions(java.util.Collection)
or withMergeOptions(java.util.Collection)
if you want to
override the existing values.
mergeOptions
- The merge option or strategy used to merge the code.MergeOptionTypeEnum
public GetMergeOptionsResult withMergeOptions(Collection<String> mergeOptions)
The merge option or strategy used to merge the code.
mergeOptions
- The merge option or strategy used to merge the code.MergeOptionTypeEnum
public GetMergeOptionsResult withMergeOptions(MergeOptionTypeEnum... mergeOptions)
The merge option or strategy used to merge the code.
mergeOptions
- The merge option or strategy used to merge the code.MergeOptionTypeEnum
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 GetMergeOptionsResult 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 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 GetMergeOptionsResult 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 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 GetMergeOptionsResult withBaseCommitId(String baseCommitId)
The commit ID of the merge base.
baseCommitId
- The commit ID of the merge base.public String toString()
toString
in class Object
Object.toString()
public GetMergeOptionsResult clone()