@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateCommitResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateCommitResult() |
Modifier and Type | Method and Description |
---|---|
CreateCommitResult |
clone() |
boolean |
equals(Object obj) |
String |
getCommitId()
The full commit ID of the commit that contains your committed file changes.
|
List<FileMetadata> |
getFilesAdded()
The files added as part of the committed file changes.
|
List<FileMetadata> |
getFilesDeleted()
The files deleted as part of the committed file changes.
|
List<FileMetadata> |
getFilesUpdated()
The files updated as part of the commited file changes.
|
String |
getTreeId()
The full SHA-1 pointer of the tree information for the commit that contains the commited file changes.
|
int |
hashCode() |
void |
setCommitId(String commitId)
The full commit ID of the commit that contains your committed file changes.
|
void |
setFilesAdded(Collection<FileMetadata> filesAdded)
The files added as part of the committed file changes.
|
void |
setFilesDeleted(Collection<FileMetadata> filesDeleted)
The files deleted as part of the committed file changes.
|
void |
setFilesUpdated(Collection<FileMetadata> filesUpdated)
The files updated as part of the commited file changes.
|
void |
setTreeId(String treeId)
The full SHA-1 pointer of the tree information for the commit that contains the commited file changes.
|
String |
toString()
Returns a string representation of this object.
|
CreateCommitResult |
withCommitId(String commitId)
The full commit ID of the commit that contains your committed file changes.
|
CreateCommitResult |
withFilesAdded(Collection<FileMetadata> filesAdded)
The files added as part of the committed file changes.
|
CreateCommitResult |
withFilesAdded(FileMetadata... filesAdded)
The files added as part of the committed file changes.
|
CreateCommitResult |
withFilesDeleted(Collection<FileMetadata> filesDeleted)
The files deleted as part of the committed file changes.
|
CreateCommitResult |
withFilesDeleted(FileMetadata... filesDeleted)
The files deleted as part of the committed file changes.
|
CreateCommitResult |
withFilesUpdated(Collection<FileMetadata> filesUpdated)
The files updated as part of the commited file changes.
|
CreateCommitResult |
withFilesUpdated(FileMetadata... filesUpdated)
The files updated as part of the commited file changes.
|
CreateCommitResult |
withTreeId(String treeId)
The full SHA-1 pointer of the tree information for the commit that contains the commited file changes.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setCommitId(String commitId)
The full commit ID of the commit that contains your committed file changes.
commitId
- The full commit ID of the commit that contains your committed file changes.public String getCommitId()
The full commit ID of the commit that contains your committed file changes.
public CreateCommitResult withCommitId(String commitId)
The full commit ID of the commit that contains your committed file changes.
commitId
- The full commit ID of the commit that contains your committed file changes.public void setTreeId(String treeId)
The full SHA-1 pointer of the tree information for the commit that contains the commited file changes.
treeId
- The full SHA-1 pointer of the tree information for the commit that contains the commited file changes.public String getTreeId()
The full SHA-1 pointer of the tree information for the commit that contains the commited file changes.
public CreateCommitResult withTreeId(String treeId)
The full SHA-1 pointer of the tree information for the commit that contains the commited file changes.
treeId
- The full SHA-1 pointer of the tree information for the commit that contains the commited file changes.public List<FileMetadata> getFilesAdded()
The files added as part of the committed file changes.
public void setFilesAdded(Collection<FileMetadata> filesAdded)
The files added as part of the committed file changes.
filesAdded
- The files added as part of the committed file changes.public CreateCommitResult withFilesAdded(FileMetadata... filesAdded)
The files added as part of the committed file changes.
NOTE: This method appends the values to the existing list (if any). Use
setFilesAdded(java.util.Collection)
or withFilesAdded(java.util.Collection)
if you want to
override the existing values.
filesAdded
- The files added as part of the committed file changes.public CreateCommitResult withFilesAdded(Collection<FileMetadata> filesAdded)
The files added as part of the committed file changes.
filesAdded
- The files added as part of the committed file changes.public List<FileMetadata> getFilesUpdated()
The files updated as part of the commited file changes.
public void setFilesUpdated(Collection<FileMetadata> filesUpdated)
The files updated as part of the commited file changes.
filesUpdated
- The files updated as part of the commited file changes.public CreateCommitResult withFilesUpdated(FileMetadata... filesUpdated)
The files updated as part of the commited file changes.
NOTE: This method appends the values to the existing list (if any). Use
setFilesUpdated(java.util.Collection)
or withFilesUpdated(java.util.Collection)
if you want to
override the existing values.
filesUpdated
- The files updated as part of the commited file changes.public CreateCommitResult withFilesUpdated(Collection<FileMetadata> filesUpdated)
The files updated as part of the commited file changes.
filesUpdated
- The files updated as part of the commited file changes.public List<FileMetadata> getFilesDeleted()
The files deleted as part of the committed file changes.
public void setFilesDeleted(Collection<FileMetadata> filesDeleted)
The files deleted as part of the committed file changes.
filesDeleted
- The files deleted as part of the committed file changes.public CreateCommitResult withFilesDeleted(FileMetadata... filesDeleted)
The files deleted as part of the committed file changes.
NOTE: This method appends the values to the existing list (if any). Use
setFilesDeleted(java.util.Collection)
or withFilesDeleted(java.util.Collection)
if you want to
override the existing values.
filesDeleted
- The files deleted as part of the committed file changes.public CreateCommitResult withFilesDeleted(Collection<FileMetadata> filesDeleted)
The files deleted as part of the committed file changes.
filesDeleted
- The files deleted as part of the committed file changes.public String toString()
toString
in class Object
Object.toString()
public CreateCommitResult clone()