@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FileModes extends Object implements Serializable, Cloneable, StructuredPojo
Information about file modes in a merge or pull request.
| Constructor and Description |
|---|
FileModes() |
| Modifier and Type | Method and Description |
|---|---|
FileModes |
clone() |
boolean |
equals(Object obj) |
String |
getBase()
The file mode of a file in the base of a merge or pull request.
|
String |
getDestination()
The file mode of a file in the destination of a merge or pull request.
|
String |
getSource()
The file mode 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 |
setBase(String base)
The file mode of a file in the base of a merge or pull request.
|
void |
setDestination(String destination)
The file mode of a file in the destination of a merge or pull request.
|
void |
setSource(String source)
The file mode of a file in the source of a merge or pull request.
|
String |
toString()
Returns a string representation of this object.
|
FileModes |
withBase(FileModeTypeEnum base)
The file mode of a file in the base of a merge or pull request.
|
FileModes |
withBase(String base)
The file mode of a file in the base of a merge or pull request.
|
FileModes |
withDestination(FileModeTypeEnum destination)
The file mode of a file in the destination of a merge or pull request.
|
FileModes |
withDestination(String destination)
The file mode of a file in the destination of a merge or pull request.
|
FileModes |
withSource(FileModeTypeEnum source)
The file mode of a file in the source of a merge or pull request.
|
FileModes |
withSource(String source)
The file mode of a file in the source of a merge or pull request.
|
public void setSource(String source)
The file mode of a file in the source of a merge or pull request.
source - The file mode of a file in the source of a merge or pull request.FileModeTypeEnumpublic String getSource()
The file mode of a file in the source of a merge or pull request.
FileModeTypeEnumpublic FileModes withSource(String source)
The file mode of a file in the source of a merge or pull request.
source - The file mode of a file in the source of a merge or pull request.FileModeTypeEnumpublic FileModes withSource(FileModeTypeEnum source)
The file mode of a file in the source of a merge or pull request.
source - The file mode of a file in the source of a merge or pull request.FileModeTypeEnumpublic void setDestination(String destination)
The file mode of a file in the destination of a merge or pull request.
destination - The file mode of a file in the destination of a merge or pull request.FileModeTypeEnumpublic String getDestination()
The file mode of a file in the destination of a merge or pull request.
FileModeTypeEnumpublic FileModes withDestination(String destination)
The file mode of a file in the destination of a merge or pull request.
destination - The file mode of a file in the destination of a merge or pull request.FileModeTypeEnumpublic FileModes withDestination(FileModeTypeEnum destination)
The file mode of a file in the destination of a merge or pull request.
destination - The file mode of a file in the destination of a merge or pull request.FileModeTypeEnumpublic void setBase(String base)
The file mode of a file in the base of a merge or pull request.
base - The file mode of a file in the base of a merge or pull request.FileModeTypeEnumpublic String getBase()
The file mode of a file in the base of a merge or pull request.
FileModeTypeEnumpublic FileModes withBase(String base)
The file mode of a file in the base of a merge or pull request.
base - The file mode of a file in the base of a merge or pull request.FileModeTypeEnumpublic FileModes withBase(FileModeTypeEnum base)
The file mode of a file in the base of a merge or pull request.
base - The file mode of a file in the base of a merge or pull request.FileModeTypeEnumpublic String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.