@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()
Creates a shallow clone of this object for all fields except the handler context.
|
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, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, 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. Commit IDs are the full SHA of the commit.
commitId
- The commit ID. Commit IDs are the full SHA of the commit.public String getCommitId()
The commit ID. Commit IDs are the full SHA of the commit.
public GetCommitRequest withCommitId(String commitId)
The commit ID. Commit IDs are the full SHA of the commit.
commitId
- The commit ID. Commit IDs are the full SHA of the commit.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.