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()
Creates a shallow clone of this request.
|
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.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public 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 Object
Object.toString()
public GetCommitRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.