Interface GetFileResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodeCommitResponse.Builder,CopyableBuilder<GetFileResponse.Builder,GetFileResponse>,SdkBuilder<GetFileResponse.Builder,GetFileResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetFileResponse
public static interface GetFileResponse.Builder extends CodeCommitResponse.Builder, SdkPojo, CopyableBuilder<GetFileResponse.Builder,GetFileResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetFileResponse.BuilderblobId(String blobId)The blob ID of the object that represents the file content.GetFileResponse.BuildercommitId(String commitId)The full commit ID of the commit that contains the content returned by GetFile.GetFileResponse.BuilderfileContent(SdkBytes fileContent)The base-64 encoded binary data object that represents the content of the file.GetFileResponse.BuilderfileMode(String fileMode)The extrapolated file mode permissions of the blob.GetFileResponse.BuilderfileMode(FileModeTypeEnum fileMode)The extrapolated file mode permissions of the blob.GetFileResponse.BuilderfilePath(String filePath)The fully qualified path to the specified file.GetFileResponse.BuilderfileSize(Long fileSize)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 Detail
-
commitId
GetFileResponse.Builder commitId(String 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
GetFileResponse.Builder blobId(String 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
GetFileResponse.Builder filePath(String 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
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 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:
FileModeTypeEnum,FileModeTypeEnum
-
fileMode
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 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:
FileModeTypeEnum,FileModeTypeEnum
-
fileSize
GetFileResponse.Builder fileSize(Long 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
GetFileResponse.Builder fileContent(SdkBytes 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.
-
-