@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MergeOperations extends Object implements Serializable, Cloneable, StructuredPojo
Information about the file operation conflicts in a merge operation.
| Constructor and Description |
|---|
MergeOperations() |
| Modifier and Type | Method and Description |
|---|---|
MergeOperations |
clone() |
boolean |
equals(Object obj) |
String |
getDestination()
The operation on a file in the destination of a merge or pull request.
|
String |
getSource()
The operation (add, modify, or delete) on a file in the source of a merge or pull request.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setDestination(String destination)
The operation on a file in the destination of a merge or pull request.
|
void |
setSource(String source)
The operation (add, modify, or delete) on a file in the source of a merge or pull request.
|
String |
toString()
Returns a string representation of this object.
|
MergeOperations |
withDestination(ChangeTypeEnum destination)
The operation on a file in the destination of a merge or pull request.
|
MergeOperations |
withDestination(String destination)
The operation on a file in the destination of a merge or pull request.
|
MergeOperations |
withSource(ChangeTypeEnum source)
The operation (add, modify, or delete) on a file in the source of a merge or pull request.
|
MergeOperations |
withSource(String source)
The operation (add, modify, or delete) on a file in the source of a merge or pull request.
|
public void setSource(String source)
The operation (add, modify, or delete) on a file in the source of a merge or pull request.
source - The operation (add, modify, or delete) on a file in the source of a merge or pull request.ChangeTypeEnumpublic String getSource()
The operation (add, modify, or delete) on a file in the source of a merge or pull request.
ChangeTypeEnumpublic MergeOperations withSource(String source)
The operation (add, modify, or delete) on a file in the source of a merge or pull request.
source - The operation (add, modify, or delete) on a file in the source of a merge or pull request.ChangeTypeEnumpublic MergeOperations withSource(ChangeTypeEnum source)
The operation (add, modify, or delete) on a file in the source of a merge or pull request.
source - The operation (add, modify, or delete) on a file in the source of a merge or pull request.ChangeTypeEnumpublic void setDestination(String destination)
The operation on a file in the destination of a merge or pull request.
destination - The operation on a file in the destination of a merge or pull request.ChangeTypeEnumpublic String getDestination()
The operation on a file in the destination of a merge or pull request.
ChangeTypeEnumpublic MergeOperations withDestination(String destination)
The operation on a file in the destination of a merge or pull request.
destination - The operation on a file in the destination of a merge or pull request.ChangeTypeEnumpublic MergeOperations withDestination(ChangeTypeEnum destination)
The operation on a file in the destination of a merge or pull request.
destination - The operation on a file in the destination of a merge or pull request.ChangeTypeEnumpublic String toString()
toString in class ObjectObject.toString()public MergeOperations clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.