public static interface GetFileResponse.Builder extends CodeCommitResponse.Builder, SdkPojo, CopyableBuilder<GetFileResponse.Builder,GetFileResponse>
Modifier and Type | Method and Description |
---|---|
GetFileResponse.Builder |
blobId(String blobId)
The blob ID of the object that represents the file content.
|
GetFileResponse.Builder |
commitId(String commitId)
The full commit ID of the commit that contains the content returned by GetFile.
|
GetFileResponse.Builder |
fileContent(SdkBytes fileContent)
The base-64 encoded binary data object that represents the content of the file.
|
GetFileResponse.Builder |
fileMode(FileModeTypeEnum fileMode)
The extrapolated file mode permissions of the blob.
|
GetFileResponse.Builder |
fileMode(String fileMode)
The extrapolated file mode permissions of the blob.
|
GetFileResponse.Builder |
filePath(String filePath)
The fully qualified path to the specified file.
|
GetFileResponse.Builder |
fileSize(Long fileSize)
The size of the contents of the file, in bytes.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
GetFileResponse.Builder commitId(String commitId)
The full commit ID of the commit that contains the content returned by GetFile.
commitId
- The full commit ID of the commit that contains the content returned by GetFile.GetFileResponse.Builder blobId(String blobId)
The blob ID of the object that represents the file content.
blobId
- The blob ID of the object that represents the file content.GetFileResponse.Builder filePath(String filePath)
The fully qualified path to the specified file. This returns the name and extension of the file.
filePath
- The fully qualified path to the specified file. This returns the name and extension of the file.GetFileResponse.Builder fileMode(String 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 below for a full list of supported return values.
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 below for a full list of supported return values.
FileModeTypeEnum
,
FileModeTypeEnum
GetFileResponse.Builder fileMode(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 below for a full list of supported return values.
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 below for a full list of supported return values.
FileModeTypeEnum
,
FileModeTypeEnum
GetFileResponse.Builder fileSize(Long fileSize)
The size of the contents of the file, in bytes.
fileSize
- The size of the contents of the file, in bytes.GetFileResponse.Builder fileContent(SdkBytes fileContent)
The base-64 encoded binary data object that represents the content of the file.
fileContent
- The base-64 encoded binary data object that represents the content of the file.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.