@Generated(value="software.amazon.awssdk:codegen") public final class FileMetadata extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FileMetadata.Builder,FileMetadata>
A file to be added, updated, or deleted as part of a commit.
| Modifier and Type | Class and Description |
|---|---|
static interface |
FileMetadata.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
absolutePath()
The full path to the file to be added or updated, including the name of the file.
|
String |
blobId()
The blob ID that contains the file information.
|
static FileMetadata.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() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends FileMetadata.Builder> |
serializableBuilderClass() |
FileMetadata.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String absolutePath()
The full path to the file to be added or updated, including the name of the file.
public final String blobId()
The blob ID that contains the file information.
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 FileMetadata.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<FileMetadata.Builder,FileMetadata>public static FileMetadata.Builder builder()
public static Class<? extends FileMetadata.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.