Interface CreateCommitResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodeCommitResponse.Builder,CopyableBuilder<CreateCommitResponse.Builder,CreateCommitResponse>,SdkBuilder<CreateCommitResponse.Builder,CreateCommitResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateCommitResponse
public static interface CreateCommitResponse.Builder extends CodeCommitResponse.Builder, SdkPojo, CopyableBuilder<CreateCommitResponse.Builder,CreateCommitResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateCommitResponse.BuildercommitId(String commitId)The full commit ID of the commit that contains your committed file changes.CreateCommitResponse.BuilderfilesAdded(Collection<FileMetadata> filesAdded)The files added as part of the committed file changes.CreateCommitResponse.BuilderfilesAdded(Consumer<FileMetadata.Builder>... filesAdded)The files added as part of the committed file changes.CreateCommitResponse.BuilderfilesAdded(FileMetadata... filesAdded)The files added as part of the committed file changes.CreateCommitResponse.BuilderfilesDeleted(Collection<FileMetadata> filesDeleted)The files deleted as part of the committed file changes.CreateCommitResponse.BuilderfilesDeleted(Consumer<FileMetadata.Builder>... filesDeleted)The files deleted as part of the committed file changes.CreateCommitResponse.BuilderfilesDeleted(FileMetadata... filesDeleted)The files deleted as part of the committed file changes.CreateCommitResponse.BuilderfilesUpdated(Collection<FileMetadata> filesUpdated)The files updated as part of the commited file changes.CreateCommitResponse.BuilderfilesUpdated(Consumer<FileMetadata.Builder>... filesUpdated)The files updated as part of the commited file changes.CreateCommitResponse.BuilderfilesUpdated(FileMetadata... filesUpdated)The files updated as part of the commited file changes.CreateCommitResponse.BuildertreeId(String treeId)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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
commitId
CreateCommitResponse.Builder commitId(String 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
CreateCommitResponse.Builder treeId(String 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
CreateCommitResponse.Builder filesAdded(Collection<FileMetadata> 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
CreateCommitResponse.Builder filesAdded(FileMetadata... 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
CreateCommitResponse.Builder filesAdded(Consumer<FileMetadata.Builder>... filesAdded)
The files added as part of the committed file changes.
This is a convenience method that creates an instance of theFileMetadata.Builderavoiding the need to create one manually viaFileMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#filesAdded(List.) - 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:
#filesAdded(java.util.Collection)
-
filesUpdated
CreateCommitResponse.Builder filesUpdated(Collection<FileMetadata> 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
CreateCommitResponse.Builder filesUpdated(FileMetadata... 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
CreateCommitResponse.Builder filesUpdated(Consumer<FileMetadata.Builder>... filesUpdated)
The files updated as part of the commited file changes.
This is a convenience method that creates an instance of theFileMetadata.Builderavoiding the need to create one manually viaFileMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#filesUpdated(List.) - 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:
#filesUpdated(java.util.Collection)
-
filesDeleted
CreateCommitResponse.Builder filesDeleted(Collection<FileMetadata> 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
CreateCommitResponse.Builder filesDeleted(FileMetadata... 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
CreateCommitResponse.Builder filesDeleted(Consumer<FileMetadata.Builder>... filesDeleted)
The files deleted as part of the committed file changes.
This is a convenience method that creates an instance of theFileMetadata.Builderavoiding the need to create one manually viaFileMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#filesDeleted(List.) - 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:
#filesDeleted(java.util.Collection)
-
-