@Generated(value="software.amazon.awssdk:codegen") public final class GetFileResponse extends CodeCommitResponse implements ToCopyableBuilder<GetFileResponse.Builder,GetFileResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetFileResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
blobId()
The blob ID of the object that represents the file content.
|
static GetFileResponse.Builder |
builder() |
String |
commitId()
The full commit ID of the commit that contains the content returned by GetFile.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
SdkBytes |
fileContent()
The base-64 encoded binary data object that represents the content of the file.
|
FileModeTypeEnum |
fileMode()
The extrapolated file mode permissions of the blob.
|
String |
fileModeAsString()
The extrapolated file mode permissions of the blob.
|
String |
filePath()
The fully qualified path to the specified file.
|
Long |
fileSize()
The size of the contents of the file, in bytes.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetFileResponse.Builder> |
serializableBuilderClass() |
GetFileResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String commitId()
The full commit ID of the commit that contains the content returned by GetFile.
public final String blobId()
The blob ID of the object that represents the file content.
public final String filePath()
The fully qualified path to the specified file. Returns the name and extension of the file.
public final FileModeTypeEnum fileMode()
The extrapolated file mode permissions of the blob. Valid values include strings such as EXECUTABLE and not numeric values.
The file mode permissions returned by this API are not the standard file mode permission values, such as 100644, but rather extrapolated values. See the supported return values.
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().
The file mode permissions returned by this API are not the standard file mode permission values, such as 100644, but rather extrapolated values. See the supported return values.
FileModeTypeEnumpublic final String fileModeAsString()
The extrapolated file mode permissions of the blob. Valid values include strings such as EXECUTABLE and not numeric values.
The file mode permissions returned by this API are not the standard file mode permission values, such as 100644, but rather extrapolated values. See the supported return values.
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().
The file mode permissions returned by this API are not the standard file mode permission values, such as 100644, but rather extrapolated values. See the supported return values.
FileModeTypeEnumpublic final Long fileSize()
The size of the contents of the file, in bytes.
public final SdkBytes fileContent()
The base-64 encoded binary data object that represents the content of the file.
public GetFileResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetFileResponse.Builder,GetFileResponse>toBuilder in class AwsResponsepublic static GetFileResponse.Builder builder()
public static Class<? extends GetFileResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2021. All rights reserved.