@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchGetCommitsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
BatchGetCommitsRequest() |
Modifier and Type | Method and Description |
---|---|
BatchGetCommitsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getCommitIds()
The full commit IDs of the commits to get information about.
|
String |
getRepositoryName()
The name of the repository that contains the commits.
|
int |
hashCode() |
void |
setCommitIds(Collection<String> commitIds)
The full commit IDs of the commits to get information about.
|
void |
setRepositoryName(String repositoryName)
The name of the repository that contains the commits.
|
String |
toString()
Returns a string representation of this object.
|
BatchGetCommitsRequest |
withCommitIds(Collection<String> commitIds)
The full commit IDs of the commits to get information about.
|
BatchGetCommitsRequest |
withCommitIds(String... commitIds)
The full commit IDs of the commits to get information about.
|
BatchGetCommitsRequest |
withRepositoryName(String repositoryName)
The name of the repository that contains the commits.
|
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 List<String> getCommitIds()
The full commit IDs of the commits to get information about.
You must supply the full SHA IDs of each commit. You cannot use shortened SHA IDs.
You must supply the full SHA IDs of each commit. You cannot use shortened SHA IDs.
public void setCommitIds(Collection<String> commitIds)
The full commit IDs of the commits to get information about.
You must supply the full SHA IDs of each commit. You cannot use shortened SHA IDs.
commitIds
- The full commit IDs of the commits to get information about. You must supply the full SHA IDs of each commit. You cannot use shortened SHA IDs.
public BatchGetCommitsRequest withCommitIds(String... commitIds)
The full commit IDs of the commits to get information about.
You must supply the full SHA IDs of each commit. You cannot use shortened SHA IDs.
NOTE: This method appends the values to the existing list (if any). Use
setCommitIds(java.util.Collection)
or withCommitIds(java.util.Collection)
if you want to
override the existing values.
commitIds
- The full commit IDs of the commits to get information about. You must supply the full SHA IDs of each commit. You cannot use shortened SHA IDs.
public BatchGetCommitsRequest withCommitIds(Collection<String> commitIds)
The full commit IDs of the commits to get information about.
You must supply the full SHA IDs of each commit. You cannot use shortened SHA IDs.
commitIds
- The full commit IDs of the commits to get information about. You must supply the full SHA IDs of each commit. You cannot use shortened SHA IDs.
public void setRepositoryName(String repositoryName)
The name of the repository that contains the commits.
repositoryName
- The name of the repository that contains the commits.public String getRepositoryName()
The name of the repository that contains the commits.
public BatchGetCommitsRequest withRepositoryName(String repositoryName)
The name of the repository that contains the commits.
repositoryName
- The name of the repository that contains the commits.public String toString()
toString
in class Object
Object.toString()
public BatchGetCommitsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()