@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchGetRepositoriesError extends Object implements Serializable, Cloneable, StructuredPojo
Returns information about errors in a BatchGetRepositories operation.
| Constructor and Description |
|---|
BatchGetRepositoriesError() |
| Modifier and Type | Method and Description |
|---|---|
BatchGetRepositoriesError |
clone() |
boolean |
equals(Object obj) |
String |
getErrorCode()
An error code that specifies the type of failure.
|
String |
getErrorMessage()
An error message that provides detail about why the repository either was not found or was not in a valid state.
|
String |
getRepositoryId()
The ID of a repository that either could not be found or was not in a valid state.
|
String |
getRepositoryName()
The name of a repository that either could not be found or was not in a valid state.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setErrorCode(String errorCode)
An error code that specifies the type of failure.
|
void |
setErrorMessage(String errorMessage)
An error message that provides detail about why the repository either was not found or was not in a valid state.
|
void |
setRepositoryId(String repositoryId)
The ID of a repository that either could not be found or was not in a valid state.
|
void |
setRepositoryName(String repositoryName)
The name of a repository that either could not be found or was not in a valid state.
|
String |
toString()
Returns a string representation of this object.
|
BatchGetRepositoriesError |
withErrorCode(BatchGetRepositoriesErrorCodeEnum errorCode)
An error code that specifies the type of failure.
|
BatchGetRepositoriesError |
withErrorCode(String errorCode)
An error code that specifies the type of failure.
|
BatchGetRepositoriesError |
withErrorMessage(String errorMessage)
An error message that provides detail about why the repository either was not found or was not in a valid state.
|
BatchGetRepositoriesError |
withRepositoryId(String repositoryId)
The ID of a repository that either could not be found or was not in a valid state.
|
BatchGetRepositoriesError |
withRepositoryName(String repositoryName)
The name of a repository that either could not be found or was not in a valid state.
|
public void setRepositoryId(String repositoryId)
The ID of a repository that either could not be found or was not in a valid state.
repositoryId - The ID of a repository that either could not be found or was not in a valid state.public String getRepositoryId()
The ID of a repository that either could not be found or was not in a valid state.
public BatchGetRepositoriesError withRepositoryId(String repositoryId)
The ID of a repository that either could not be found or was not in a valid state.
repositoryId - The ID of a repository that either could not be found or was not in a valid state.public void setRepositoryName(String repositoryName)
The name of a repository that either could not be found or was not in a valid state.
repositoryName - The name of a repository that either could not be found or was not in a valid state.public String getRepositoryName()
The name of a repository that either could not be found or was not in a valid state.
public BatchGetRepositoriesError withRepositoryName(String repositoryName)
The name of a repository that either could not be found or was not in a valid state.
repositoryName - The name of a repository that either could not be found or was not in a valid state.public void setErrorCode(String errorCode)
An error code that specifies the type of failure.
errorCode - An error code that specifies the type of failure.BatchGetRepositoriesErrorCodeEnumpublic String getErrorCode()
An error code that specifies the type of failure.
BatchGetRepositoriesErrorCodeEnumpublic BatchGetRepositoriesError withErrorCode(String errorCode)
An error code that specifies the type of failure.
errorCode - An error code that specifies the type of failure.BatchGetRepositoriesErrorCodeEnumpublic BatchGetRepositoriesError withErrorCode(BatchGetRepositoriesErrorCodeEnum errorCode)
An error code that specifies the type of failure.
errorCode - An error code that specifies the type of failure.BatchGetRepositoriesErrorCodeEnumpublic void setErrorMessage(String errorMessage)
An error message that provides detail about why the repository either was not found or was not in a valid state.
errorMessage - An error message that provides detail about why the repository either was not found or was not in a valid
state.public String getErrorMessage()
An error message that provides detail about why the repository either was not found or was not in a valid state.
public BatchGetRepositoriesError withErrorMessage(String errorMessage)
An error message that provides detail about why the repository either was not found or was not in a valid state.
errorMessage - An error message that provides detail about why the repository either was not found or was not in a valid
state.public String toString()
toString in class ObjectObject.toString()public BatchGetRepositoriesError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.