Interface CreateCommitResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CodeCommitResponse.Builder
,CopyableBuilder<CreateCommitResponse.Builder,
,CreateCommitResponse> SdkBuilder<CreateCommitResponse.Builder,
,CreateCommitResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateCommitResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe full commit ID of the commit that contains your committed file changes.filesAdded
(Collection<FileMetadata> filesAdded) The files added as part of the committed file changes.filesAdded
(Consumer<FileMetadata.Builder>... filesAdded) The files added as part of the committed file changes.filesAdded
(FileMetadata... filesAdded) The files added as part of the committed file changes.filesDeleted
(Collection<FileMetadata> filesDeleted) The files deleted as part of the committed file changes.filesDeleted
(Consumer<FileMetadata.Builder>... filesDeleted) The files deleted as part of the committed file changes.filesDeleted
(FileMetadata... filesDeleted) The files deleted as part of the committed file changes.filesUpdated
(Collection<FileMetadata> filesUpdated) The files updated as part of the commited file changes.filesUpdated
(Consumer<FileMetadata.Builder>... filesUpdated) The files updated as part of the commited file changes.filesUpdated
(FileMetadata... filesUpdated) The files updated as part of the commited file changes.The full SHA-1 pointer of the tree information for the commit that contains the commited file changes.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 your committed file changes.
- Parameters:
commitId
- The full commit ID of the commit that contains your committed file changes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
treeId
The full SHA-1 pointer of the tree information for the commit that contains the commited file changes.
- Parameters:
treeId
- The full SHA-1 pointer of the tree information for the commit that contains the commited file changes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filesAdded
The files added as part of the committed file changes.
- Parameters:
filesAdded
- The files added as part of the committed file changes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filesAdded
The files added as part of the committed file changes.
- Parameters:
filesAdded
- The files added as part of the committed file changes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filesAdded
The files added as part of the committed file changes.
This is a convenience method that creates an instance of theFileMetadata.Builder
avoiding the need to create one manually viaFileMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilesAdded(List<FileMetadata>)
.- Parameters:
filesAdded
- a consumer that will call methods onFileMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
filesUpdated
The files updated as part of the commited file changes.
- Parameters:
filesUpdated
- The files updated as part of the commited file changes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filesUpdated
The files updated as part of the commited file changes.
- Parameters:
filesUpdated
- The files updated as part of the commited file changes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filesUpdated
The files updated as part of the commited file changes.
This is a convenience method that creates an instance of theFileMetadata.Builder
avoiding the need to create one manually viaFileMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilesUpdated(List<FileMetadata>)
.- Parameters:
filesUpdated
- a consumer that will call methods onFileMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
filesDeleted
The files deleted as part of the committed file changes.
- Parameters:
filesDeleted
- The files deleted as part of the committed file changes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filesDeleted
The files deleted as part of the committed file changes.
- Parameters:
filesDeleted
- The files deleted as part of the committed file changes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filesDeleted
The files deleted as part of the committed file changes.
This is a convenience method that creates an instance of theFileMetadata.Builder
avoiding the need to create one manually viaFileMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilesDeleted(List<FileMetadata>)
.- Parameters:
filesDeleted
- a consumer that will call methods onFileMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-