@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetCommitRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input of a get commit operation.
NOOP| Constructor and Description |
|---|
GetCommitRequest() |
| Modifier and Type | Method and Description |
|---|---|
GetCommitRequest |
clone() |
boolean |
equals(Object obj) |
String |
getCommitId()
The commit ID.
|
String |
getRepositoryName()
The name of the repository to which the commit was made.
|
int |
hashCode() |
void |
setCommitId(String commitId)
The commit ID.
|
void |
setRepositoryName(String repositoryName)
The name of the repository to which the commit was made.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GetCommitRequest |
withCommitId(String commitId)
The commit ID.
|
GetCommitRequest |
withRepositoryName(String repositoryName)
The name of the repository to which the commit was made.
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setRepositoryName(String repositoryName)
The name of the repository to which the commit was made.
repositoryName - The name of the repository to which the commit was made.public String getRepositoryName()
The name of the repository to which the commit was made.
public GetCommitRequest withRepositoryName(String repositoryName)
The name of the repository to which the commit was made.
repositoryName - The name of the repository to which the commit was made.public void setCommitId(String commitId)
The commit ID.
commitId - The commit ID.public String getCommitId()
The commit ID.
public GetCommitRequest withCommitId(String commitId)
The commit ID.
commitId - The commit ID.public String toString()
toString in class ObjectObject.toString()public GetCommitRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2017. All rights reserved.