@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 on a file (add, modify, or delete) of 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 on a file (add, modify, or delete) of 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 on a file (add, modify, or delete) of a file in the source of a merge or pull request.
|
MergeOperations |
withSource(String source)
The operation on a file (add, modify, or delete) of a file in the source of a merge or pull request.
|
public void setSource(String source)
The operation on a file (add, modify, or delete) of a file in the source of a merge or pull request.
source
- The operation on a file (add, modify, or delete) of a file in the source of a merge or pull request.ChangeTypeEnum
public String getSource()
The operation on a file (add, modify, or delete) of a file in the source of a merge or pull request.
ChangeTypeEnum
public MergeOperations withSource(String source)
The operation on a file (add, modify, or delete) of a file in the source of a merge or pull request.
source
- The operation on a file (add, modify, or delete) of a file in the source of a merge or pull request.ChangeTypeEnum
public MergeOperations withSource(ChangeTypeEnum source)
The operation on a file (add, modify, or delete) of a file in the source of a merge or pull request.
source
- The operation on a file (add, modify, or delete) of a file in the source of a merge or pull request.ChangeTypeEnum
public 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.ChangeTypeEnum
public String getDestination()
The operation on a file in the destination of a merge or pull request.
ChangeTypeEnum
public 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.ChangeTypeEnum
public 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.ChangeTypeEnum
public String toString()
toString
in class Object
Object.toString()
public MergeOperations clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.