@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchGetCommitsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
BatchGetCommitsResult() |
Modifier and Type | Method and Description |
---|---|
BatchGetCommitsResult |
clone() |
boolean |
equals(Object obj) |
List<Commit> |
getCommits()
An array of commit data type objects, each of which contains information about a specified commit.
|
List<BatchGetCommitsError> |
getErrors()
Returns any commit IDs for which information could not be found.
|
int |
hashCode() |
void |
setCommits(Collection<Commit> commits)
An array of commit data type objects, each of which contains information about a specified commit.
|
void |
setErrors(Collection<BatchGetCommitsError> errors)
Returns any commit IDs for which information could not be found.
|
String |
toString()
Returns a string representation of this object.
|
BatchGetCommitsResult |
withCommits(Collection<Commit> commits)
An array of commit data type objects, each of which contains information about a specified commit.
|
BatchGetCommitsResult |
withCommits(Commit... commits)
An array of commit data type objects, each of which contains information about a specified commit.
|
BatchGetCommitsResult |
withErrors(BatchGetCommitsError... errors)
Returns any commit IDs for which information could not be found.
|
BatchGetCommitsResult |
withErrors(Collection<BatchGetCommitsError> errors)
Returns any commit IDs for which information could not be found.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Commit> getCommits()
An array of commit data type objects, each of which contains information about a specified commit.
public void setCommits(Collection<Commit> commits)
An array of commit data type objects, each of which contains information about a specified commit.
commits
- An array of commit data type objects, each of which contains information about a specified commit.public BatchGetCommitsResult withCommits(Commit... commits)
An array of commit data type objects, each of which contains information about a specified commit.
NOTE: This method appends the values to the existing list (if any). Use
setCommits(java.util.Collection)
or withCommits(java.util.Collection)
if you want to override
the existing values.
commits
- An array of commit data type objects, each of which contains information about a specified commit.public BatchGetCommitsResult withCommits(Collection<Commit> commits)
An array of commit data type objects, each of which contains information about a specified commit.
commits
- An array of commit data type objects, each of which contains information about a specified commit.public List<BatchGetCommitsError> getErrors()
Returns any commit IDs for which information could not be found. For example, if one of the commit IDs was a shortened SHA ID or that commit was not found in the specified repository, the ID returns an error object with more information.
public void setErrors(Collection<BatchGetCommitsError> errors)
Returns any commit IDs for which information could not be found. For example, if one of the commit IDs was a shortened SHA ID or that commit was not found in the specified repository, the ID returns an error object with more information.
errors
- Returns any commit IDs for which information could not be found. For example, if one of the commit IDs was
a shortened SHA ID or that commit was not found in the specified repository, the ID returns an error
object with more information.public BatchGetCommitsResult withErrors(BatchGetCommitsError... errors)
Returns any commit IDs for which information could not be found. For example, if one of the commit IDs was a shortened SHA ID or that commit was not found in the specified repository, the ID returns an error object with more information.
NOTE: This method appends the values to the existing list (if any). Use
setErrors(java.util.Collection)
or withErrors(java.util.Collection)
if you want to override the
existing values.
errors
- Returns any commit IDs for which information could not be found. For example, if one of the commit IDs was
a shortened SHA ID or that commit was not found in the specified repository, the ID returns an error
object with more information.public BatchGetCommitsResult withErrors(Collection<BatchGetCommitsError> errors)
Returns any commit IDs for which information could not be found. For example, if one of the commit IDs was a shortened SHA ID or that commit was not found in the specified repository, the ID returns an error object with more information.
errors
- Returns any commit IDs for which information could not be found. For example, if one of the commit IDs was
a shortened SHA ID or that commit was not found in the specified repository, the ID returns an error
object with more information.public String toString()
toString
in class Object
Object.toString()
public BatchGetCommitsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.