@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchGetRepositoriesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Represents the output of a batch get repositories operation.
Constructor and Description |
---|
BatchGetRepositoriesResult() |
Modifier and Type | Method and Description |
---|---|
BatchGetRepositoriesResult |
clone() |
boolean |
equals(Object obj) |
List<BatchGetRepositoriesError> |
getErrors()
Returns information about any errors returned when attempting to retrieve information about the repositories.
|
List<RepositoryMetadata> |
getRepositories()
A list of repositories returned by the batch get repositories operation.
|
List<String> |
getRepositoriesNotFound()
Returns a list of repository names for which information could not be found.
|
int |
hashCode() |
void |
setErrors(Collection<BatchGetRepositoriesError> errors)
Returns information about any errors returned when attempting to retrieve information about the repositories.
|
void |
setRepositories(Collection<RepositoryMetadata> repositories)
A list of repositories returned by the batch get repositories operation.
|
void |
setRepositoriesNotFound(Collection<String> repositoriesNotFound)
Returns a list of repository names for which information could not be found.
|
String |
toString()
Returns a string representation of this object.
|
BatchGetRepositoriesResult |
withErrors(BatchGetRepositoriesError... errors)
Returns information about any errors returned when attempting to retrieve information about the repositories.
|
BatchGetRepositoriesResult |
withErrors(Collection<BatchGetRepositoriesError> errors)
Returns information about any errors returned when attempting to retrieve information about the repositories.
|
BatchGetRepositoriesResult |
withRepositories(Collection<RepositoryMetadata> repositories)
A list of repositories returned by the batch get repositories operation.
|
BatchGetRepositoriesResult |
withRepositories(RepositoryMetadata... repositories)
A list of repositories returned by the batch get repositories operation.
|
BatchGetRepositoriesResult |
withRepositoriesNotFound(Collection<String> repositoriesNotFound)
Returns a list of repository names for which information could not be found.
|
BatchGetRepositoriesResult |
withRepositoriesNotFound(String... repositoriesNotFound)
Returns a list of repository names for which information could not be found.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<RepositoryMetadata> getRepositories()
A list of repositories returned by the batch get repositories operation.
public void setRepositories(Collection<RepositoryMetadata> repositories)
A list of repositories returned by the batch get repositories operation.
repositories
- A list of repositories returned by the batch get repositories operation.public BatchGetRepositoriesResult withRepositories(RepositoryMetadata... repositories)
A list of repositories returned by the batch get repositories operation.
NOTE: This method appends the values to the existing list (if any). Use
setRepositories(java.util.Collection)
or withRepositories(java.util.Collection)
if you want to
override the existing values.
repositories
- A list of repositories returned by the batch get repositories operation.public BatchGetRepositoriesResult withRepositories(Collection<RepositoryMetadata> repositories)
A list of repositories returned by the batch get repositories operation.
repositories
- A list of repositories returned by the batch get repositories operation.public List<String> getRepositoriesNotFound()
Returns a list of repository names for which information could not be found.
public void setRepositoriesNotFound(Collection<String> repositoriesNotFound)
Returns a list of repository names for which information could not be found.
repositoriesNotFound
- Returns a list of repository names for which information could not be found.public BatchGetRepositoriesResult withRepositoriesNotFound(String... repositoriesNotFound)
Returns a list of repository names for which information could not be found.
NOTE: This method appends the values to the existing list (if any). Use
setRepositoriesNotFound(java.util.Collection)
or withRepositoriesNotFound(java.util.Collection)
if you want to override the existing values.
repositoriesNotFound
- Returns a list of repository names for which information could not be found.public BatchGetRepositoriesResult withRepositoriesNotFound(Collection<String> repositoriesNotFound)
Returns a list of repository names for which information could not be found.
repositoriesNotFound
- Returns a list of repository names for which information could not be found.public List<BatchGetRepositoriesError> getErrors()
Returns information about any errors returned when attempting to retrieve information about the repositories.
public void setErrors(Collection<BatchGetRepositoriesError> errors)
Returns information about any errors returned when attempting to retrieve information about the repositories.
errors
- Returns information about any errors returned when attempting to retrieve information about the
repositories.public BatchGetRepositoriesResult withErrors(BatchGetRepositoriesError... errors)
Returns information about any errors returned when attempting to retrieve information about the repositories.
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 information about any errors returned when attempting to retrieve information about the
repositories.public BatchGetRepositoriesResult withErrors(Collection<BatchGetRepositoriesError> errors)
Returns information about any errors returned when attempting to retrieve information about the repositories.
errors
- Returns information about any errors returned when attempting to retrieve information about the
repositories.public String toString()
toString
in class Object
Object.toString()
public BatchGetRepositoriesResult clone()