@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Location extends Object implements Serializable, Cloneable, StructuredPojo
Returns information about the location of a change or comment in the comparison between two commits or a pull request.
Constructor and Description |
---|
Location() |
Modifier and Type | Method and Description |
---|---|
Location |
clone() |
boolean |
equals(Object obj) |
String |
getFilePath()
The name of the file being compared, including its extension and subdirectory, if any.
|
Long |
getFilePosition()
The position of a change within a compared file, in line number format.
|
String |
getRelativeFileVersion()
In a comparison of commits or a pull request, whether the change is in the 'before' or 'after' of that
comparison.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFilePath(String filePath)
The name of the file being compared, including its extension and subdirectory, if any.
|
void |
setFilePosition(Long filePosition)
The position of a change within a compared file, in line number format.
|
void |
setRelativeFileVersion(String relativeFileVersion)
In a comparison of commits or a pull request, whether the change is in the 'before' or 'after' of that
comparison.
|
String |
toString()
Returns a string representation of this object.
|
Location |
withFilePath(String filePath)
The name of the file being compared, including its extension and subdirectory, if any.
|
Location |
withFilePosition(Long filePosition)
The position of a change within a compared file, in line number format.
|
Location |
withRelativeFileVersion(RelativeFileVersionEnum relativeFileVersion)
In a comparison of commits or a pull request, whether the change is in the 'before' or 'after' of that
comparison.
|
Location |
withRelativeFileVersion(String relativeFileVersion)
In a comparison of commits or a pull request, whether the change is in the 'before' or 'after' of that
comparison.
|
public void setFilePath(String filePath)
The name of the file being compared, including its extension and subdirectory, if any.
filePath
- The name of the file being compared, including its extension and subdirectory, if any.public String getFilePath()
The name of the file being compared, including its extension and subdirectory, if any.
public Location withFilePath(String filePath)
The name of the file being compared, including its extension and subdirectory, if any.
filePath
- The name of the file being compared, including its extension and subdirectory, if any.public void setFilePosition(Long filePosition)
The position of a change within a compared file, in line number format.
filePosition
- The position of a change within a compared file, in line number format.public Long getFilePosition()
The position of a change within a compared file, in line number format.
public Location withFilePosition(Long filePosition)
The position of a change within a compared file, in line number format.
filePosition
- The position of a change within a compared file, in line number format.public void setRelativeFileVersion(String relativeFileVersion)
In a comparison of commits or a pull request, whether the change is in the 'before' or 'after' of that comparison.
relativeFileVersion
- In a comparison of commits or a pull request, whether the change is in the 'before' or 'after' of that
comparison.RelativeFileVersionEnum
public String getRelativeFileVersion()
In a comparison of commits or a pull request, whether the change is in the 'before' or 'after' of that comparison.
RelativeFileVersionEnum
public Location withRelativeFileVersion(String relativeFileVersion)
In a comparison of commits or a pull request, whether the change is in the 'before' or 'after' of that comparison.
relativeFileVersion
- In a comparison of commits or a pull request, whether the change is in the 'before' or 'after' of that
comparison.RelativeFileVersionEnum
public Location withRelativeFileVersion(RelativeFileVersionEnum relativeFileVersion)
In a comparison of commits or a pull request, whether the change is in the 'before' or 'after' of that comparison.
relativeFileVersion
- In a comparison of commits or a pull request, whether the change is in the 'before' or 'after' of that
comparison.RelativeFileVersionEnum
public String toString()
toString
in class Object
Object.toString()
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.