Class GetCommitResult
- java.lang.Object
-
- com.amazonaws.services.codecommit.model.GetCommitResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class GetCommitResult extends Object implements Serializable, Cloneable
Represents the output of a get commit operation.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GetCommitResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetCommitResultclone()booleanequals(Object obj)CommitgetCommit()Information about the specified commit.inthashCode()voidsetCommit(Commit commit)Information about the specified commit.StringtoString()Returns a string representation of this object; useful for testing and debugging.GetCommitResultwithCommit(Commit commit)Information about the specified commit.
-
-
-
Method Detail
-
setCommit
public void setCommit(Commit commit)
Information about the specified commit.
- Parameters:
commit- Information about the specified commit.
-
getCommit
public Commit getCommit()
Information about the specified commit.
- Returns:
- Information about the specified commit.
-
withCommit
public GetCommitResult withCommit(Commit commit)
Information about the specified commit.
- Parameters:
commit- Information about the specified commit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public GetCommitResult clone()
-
-