@Generated(value="software.amazon.awssdk:codegen") public final class File extends Object implements SdkPojo, Serializable, ToCopyableBuilder<File.Builder,File>
Returns information about a file in a repository.
| Modifier and Type | Class and Description |
|---|---|
static interface |
File.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
absolutePath()
The fully qualified path to the file in the repository.
|
String |
blobId()
The blob ID that contains the file information.
|
static File.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
FileModeTypeEnum |
fileMode()
The extrapolated file mode permissions for the file.
|
String |
fileModeAsString()
The extrapolated file mode permissions for the file.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
relativePath()
The relative path of the file from the folder where the query originated.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends File.Builder> |
serializableBuilderClass() |
File.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String blobId()
The blob ID that contains the file information.
public final String absolutePath()
The fully qualified path to the file in the repository.
public final String relativePath()
The relative path of the file from the folder where the query originated.
public final FileModeTypeEnum fileMode()
The extrapolated file mode permissions for the file. Valid values include EXECUTABLE and NORMAL.
If the service returns an enum value that is not available in the current SDK version, fileMode will
return FileModeTypeEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
fileModeAsString().
FileModeTypeEnumpublic final String fileModeAsString()
The extrapolated file mode permissions for the file. Valid values include EXECUTABLE and NORMAL.
If the service returns an enum value that is not available in the current SDK version, fileMode will
return FileModeTypeEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
fileModeAsString().
FileModeTypeEnumpublic File.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<File.Builder,File>public static File.Builder builder()
public static Class<? extends File.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.