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 Details

    • 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

      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:
    • 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

      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.