@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetCommitResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Represents the output of a get commit operation.
Constructor and Description |
---|
GetCommitResult() |
Modifier and Type | Method and Description |
---|---|
GetCommitResult |
clone() |
boolean |
equals(Object obj) |
Commit |
getCommit()
A commit data type object that contains information about the specified commit.
|
int |
hashCode() |
void |
setCommit(Commit commit)
A commit data type object that contains information about the specified commit.
|
String |
toString()
Returns a string representation of this object.
|
GetCommitResult |
withCommit(Commit commit)
A commit data type object that contains information about the specified commit.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setCommit(Commit commit)
A commit data type object that contains information about the specified commit.
commit
- A commit data type object that contains information about the specified commit.public Commit getCommit()
A commit data type object that contains information about the specified commit.
public GetCommitResult withCommit(Commit commit)
A commit data type object that contains information about the specified commit.
commit
- A commit data type object that contains information about the specified commit.public String toString()
toString
in class Object
Object.toString()
public GetCommitResult clone()