Interface GetFileResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CodeCommitResponse.Builder
,CopyableBuilder<GetFileResponse.Builder,
,GetFileResponse> SdkBuilder<GetFileResponse.Builder,
,GetFileResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetFileResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe blob ID of the object that represents the file content.The full commit ID of the commit that contains the content returned by GetFile.fileContent
(SdkBytes fileContent) The base-64 encoded binary data object that represents the content of the file.The extrapolated file mode permissions of the blob.fileMode
(FileModeTypeEnum fileMode) The extrapolated file mode permissions of the blob.The fully qualified path to the specified file.The size of the contents of the file, in bytes.Methods inherited from interface software.amazon.awssdk.services.codecommit.model.CodeCommitResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
commitId
The full commit ID of the commit that contains the content returned by GetFile.
- Parameters:
commitId
- The full commit ID of the commit that contains the content returned by GetFile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
blobId
The blob ID of the object that represents the file content.
- Parameters:
blobId
- The blob ID of the object that represents the file content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filePath
The fully qualified path to the specified file. Returns the name and extension of the file.
- Parameters:
filePath
- The fully qualified path to the specified file. Returns the name and extension of the file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
fileSize
The size of the contents of the file, in bytes.
- Parameters:
fileSize
- The size of the contents of the file, in bytes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileContent
The base-64 encoded binary data object that represents the content of the file.
- Parameters:
fileContent
- The base-64 encoded binary data object that represents the content of the file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-