@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchGetCommitsError extends Object implements Serializable, Cloneable, StructuredPojo
Returns information about errors in a BatchGetCommits operation.
Constructor and Description |
---|
BatchGetCommitsError() |
Modifier and Type | Method and Description |
---|---|
BatchGetCommitsError |
clone() |
boolean |
equals(Object obj) |
String |
getCommitId()
A commit ID that either could not be found or was not in a valid format.
|
String |
getErrorCode()
An error code that specifies whether the commit ID was not valid or not found.
|
String |
getErrorMessage()
An error message that provides detail about why the commit ID either was not found or was not valid.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCommitId(String commitId)
A commit ID that either could not be found or was not in a valid format.
|
void |
setErrorCode(String errorCode)
An error code that specifies whether the commit ID was not valid or not found.
|
void |
setErrorMessage(String errorMessage)
An error message that provides detail about why the commit ID either was not found or was not valid.
|
String |
toString()
Returns a string representation of this object.
|
BatchGetCommitsError |
withCommitId(String commitId)
A commit ID that either could not be found or was not in a valid format.
|
BatchGetCommitsError |
withErrorCode(String errorCode)
An error code that specifies whether the commit ID was not valid or not found.
|
BatchGetCommitsError |
withErrorMessage(String errorMessage)
An error message that provides detail about why the commit ID either was not found or was not valid.
|
public void setCommitId(String commitId)
A commit ID that either could not be found or was not in a valid format.
commitId
- A commit ID that either could not be found or was not in a valid format.public String getCommitId()
A commit ID that either could not be found or was not in a valid format.
public BatchGetCommitsError withCommitId(String commitId)
A commit ID that either could not be found or was not in a valid format.
commitId
- A commit ID that either could not be found or was not in a valid format.public void setErrorCode(String errorCode)
An error code that specifies whether the commit ID was not valid or not found.
errorCode
- An error code that specifies whether the commit ID was not valid or not found.public String getErrorCode()
An error code that specifies whether the commit ID was not valid or not found.
public BatchGetCommitsError withErrorCode(String errorCode)
An error code that specifies whether the commit ID was not valid or not found.
errorCode
- An error code that specifies whether the commit ID was not valid or not found.public void setErrorMessage(String errorMessage)
An error message that provides detail about why the commit ID either was not found or was not valid.
errorMessage
- An error message that provides detail about why the commit ID either was not found or was not valid.public String getErrorMessage()
An error message that provides detail about why the commit ID either was not found or was not valid.
public BatchGetCommitsError withErrorMessage(String errorMessage)
An error message that provides detail about why the commit ID either was not found or was not valid.
errorMessage
- An error message that provides detail about why the commit ID either was not found or was not valid.public String toString()
toString
in class Object
Object.toString()
public BatchGetCommitsError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.