@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) |
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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String blobId()
The blob ID that contains the file information.
public String absolutePath()
The fully-qualified path to the file in the repository.
public String relativePath()
The relative path of the file from the folder where the query originated.
public 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()
.
FileModeTypeEnum
public 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()
.
FileModeTypeEnum
public File.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<File.Builder,File>
public static File.Builder builder()
public static Class<? extends File.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.