public class BatchGetRepositoriesResult extends Object 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<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 |
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; useful for testing and
debugging.
|
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.
|
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 String toString()
toString in class ObjectObject.toString()public BatchGetRepositoriesResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.