Interface PutFileEntry.Builder

    • Method Detail

      • filePath

        PutFileEntry.Builder filePath​(String filePath)

        The full path to the file in the repository, including the name of the file.

        Parameters:
        filePath - The full path to the file in the repository, including the name of the file.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • fileMode

        PutFileEntry.Builder fileMode​(String fileMode)

        The extrapolated file mode permissions for the file. Valid values include EXECUTABLE and NORMAL.

        Parameters:
        fileMode - The extrapolated file mode permissions for the file. Valid values include EXECUTABLE and NORMAL.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        FileModeTypeEnum, FileModeTypeEnum
      • fileMode

        PutFileEntry.Builder fileMode​(FileModeTypeEnum fileMode)

        The extrapolated file mode permissions for the file. Valid values include EXECUTABLE and NORMAL.

        Parameters:
        fileMode - The extrapolated file mode permissions for the file. Valid values include EXECUTABLE and NORMAL.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        FileModeTypeEnum, FileModeTypeEnum
      • fileContent

        PutFileEntry.Builder fileContent​(SdkBytes fileContent)

        The content of the file, if a source file is not specified.

        Parameters:
        fileContent - The content of the file, if a source file is not specified.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sourceFile

        PutFileEntry.Builder sourceFile​(SourceFileSpecifier sourceFile)

        The name and full path of the file that contains the changes you want to make as part of the commit, if you are not providing the file content directly.

        Parameters:
        sourceFile - The name and full path of the file that contains the changes you want to make as part of the commit, if you are not providing the file content directly.
        Returns:
        Returns a reference to this object so that method calls can be chained together.