@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ObjectTypes extends Object implements Serializable, Cloneable, StructuredPojo
Information about the type of an object in a merge operation.
Constructor and Description |
---|
ObjectTypes() |
Modifier and Type | Method and Description |
---|---|
ObjectTypes |
clone() |
boolean |
equals(Object obj) |
String |
getBase()
The type of the object in the base commit of the merge.
|
String |
getDestination()
The type of the object in the destination branch.
|
String |
getSource()
The type of the object in the source branch.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBase(String base)
The type of the object in the base commit of the merge.
|
void |
setDestination(String destination)
The type of the object in the destination branch.
|
void |
setSource(String source)
The type of the object in the source branch.
|
String |
toString()
Returns a string representation of this object.
|
ObjectTypes |
withBase(ObjectTypeEnum base)
The type of the object in the base commit of the merge.
|
ObjectTypes |
withBase(String base)
The type of the object in the base commit of the merge.
|
ObjectTypes |
withDestination(ObjectTypeEnum destination)
The type of the object in the destination branch.
|
ObjectTypes |
withDestination(String destination)
The type of the object in the destination branch.
|
ObjectTypes |
withSource(ObjectTypeEnum source)
The type of the object in the source branch.
|
ObjectTypes |
withSource(String source)
The type of the object in the source branch.
|
public void setSource(String source)
The type of the object in the source branch.
source
- The type of the object in the source branch.ObjectTypeEnum
public String getSource()
The type of the object in the source branch.
ObjectTypeEnum
public ObjectTypes withSource(String source)
The type of the object in the source branch.
source
- The type of the object in the source branch.ObjectTypeEnum
public ObjectTypes withSource(ObjectTypeEnum source)
The type of the object in the source branch.
source
- The type of the object in the source branch.ObjectTypeEnum
public void setDestination(String destination)
The type of the object in the destination branch.
destination
- The type of the object in the destination branch.ObjectTypeEnum
public String getDestination()
The type of the object in the destination branch.
ObjectTypeEnum
public ObjectTypes withDestination(String destination)
The type of the object in the destination branch.
destination
- The type of the object in the destination branch.ObjectTypeEnum
public ObjectTypes withDestination(ObjectTypeEnum destination)
The type of the object in the destination branch.
destination
- The type of the object in the destination branch.ObjectTypeEnum
public void setBase(String base)
The type of the object in the base commit of the merge.
base
- The type of the object in the base commit of the merge.ObjectTypeEnum
public String getBase()
The type of the object in the base commit of the merge.
ObjectTypeEnum
public ObjectTypes withBase(String base)
The type of the object in the base commit of the merge.
base
- The type of the object in the base commit of the merge.ObjectTypeEnum
public ObjectTypes withBase(ObjectTypeEnum base)
The type of the object in the base commit of the merge.
base
- The type of the object in the base commit of the merge.ObjectTypeEnum
public String toString()
toString
in class Object
Object.toString()
public ObjectTypes clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.