@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 String filePath()
The full path to the file in the repository, including the name of the file.
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().
FileModeTypeEnumpublic 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 SdkBytes fileContent()
The content of the file, if a source file is not specified.
public 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 boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.