@Generated(value="software.amazon.awssdk:codegen") public final class Location extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Location.Builder,Location>
Returns information about the location of a change or comment in the comparison between two commits or a pull request.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Location.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Location.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
filePath()
The name of the file being compared, including its extension and subdirectory, if any.
|
Long |
filePosition()
The position of a change in a compared file, in line number format.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
RelativeFileVersionEnum |
relativeFileVersion()
In a comparison of commits or a pull request, whether the change is in the before or after of that comparison.
|
String |
relativeFileVersionAsString()
In a comparison of commits or a pull request, whether the change is in the before or after of that comparison.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Location.Builder> |
serializableBuilderClass() |
Location.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String filePath()
The name of the file being compared, including its extension and subdirectory, if any.
public final Long filePosition()
The position of a change in a compared file, in line number format.
public final RelativeFileVersionEnum relativeFileVersion()
In a comparison of commits or a pull request, whether the change is in the before or after of that comparison.
If the service returns an enum value that is not available in the current SDK version,
relativeFileVersion will return RelativeFileVersionEnum.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from relativeFileVersionAsString().
RelativeFileVersionEnumpublic final String relativeFileVersionAsString()
In a comparison of commits or a pull request, whether the change is in the before or after of that comparison.
If the service returns an enum value that is not available in the current SDK version,
relativeFileVersion will return RelativeFileVersionEnum.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from relativeFileVersionAsString().
RelativeFileVersionEnumpublic Location.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Location.Builder,Location>public static Location.Builder builder()
public static Class<? extends Location.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.