@Generated(value="software.amazon.awssdk:codegen") public final class PutFileEntry extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PutFileEntry.Builder,PutFileEntry>
Information about a file added or updated as part of a commit.
| Modifier and Type | Class and Description |
|---|---|
static interface |
PutFileEntry.Builder |
| Modifier and Type | Method and Description |
|---|---|
static PutFileEntry.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
SdkBytes |
fileContent()
The content of the file, if a source file is not specified.
|
FileModeTypeEnum |
fileMode()
The extrapolated file mode permissions for the file.
|
String |
fileModeAsString()
The extrapolated file mode permissions for the file.
|
String |
filePath()
The full path to the file in the repository, including the name of the file.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends PutFileEntry.Builder> |
serializableBuilderClass() |
SourceFileSpecifier |
sourceFile()
The name and full path of the file that contains the changes you want to make as part of the commit, if you are
not providing the file content directly.
|
PutFileEntry.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String filePath()
The full path to the file in the repository, including the name of the file.
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 final SdkBytes fileContent()
The content of the file, if a source file is not specified.
public final SourceFileSpecifier sourceFile()
The name and full path of the file that contains the changes you want to make as part of the commit, if you are not providing the file content directly.
public PutFileEntry.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PutFileEntry.Builder,PutFileEntry>public static PutFileEntry.Builder builder()
public static Class<? extends PutFileEntry.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.