Class BatchGetRepositoriesResult
- All Implemented Interfaces:
Serializable
,Cloneable
Represents the output of a batch get repositories operation.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
A list of repositories returned by the batch get repositories operation.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.toString()
Returns a string representation of this object; useful for testing and debugging.withRepositories
(RepositoryMetadata... repositories) A list of repositories returned by the batch get repositories operation.withRepositories
(Collection<RepositoryMetadata> repositories) A list of repositories returned by the batch get repositories operation.withRepositoriesNotFound
(String... repositoriesNotFound) Returns a list of repository names for which information could not be found.withRepositoriesNotFound
(Collection<String> repositoriesNotFound) Returns a list of repository names for which information could not be found.
-
Constructor Details
-
BatchGetRepositoriesResult
public BatchGetRepositoriesResult()
-
-
Method Details
-
getRepositories
A list of repositories returned by the batch get repositories operation.
- Returns:
- A list of repositories returned by the batch get repositories operation.
-
setRepositories
A list of repositories returned by the batch get repositories operation.
- Parameters:
repositories
- A list of repositories returned by the batch get repositories operation.
-
withRepositories
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)
orwithRepositories(java.util.Collection)
if you want to override the existing values.- Parameters:
repositories
- A list of repositories returned by the batch get repositories operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withRepositories
A list of repositories returned by the batch get repositories operation.
- Parameters:
repositories
- A list of repositories returned by the batch get repositories operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getRepositoriesNotFound
Returns a list of repository names for which information could not be found.
- Returns:
- Returns a list of repository names for which information could not be found.
-
setRepositoriesNotFound
Returns a list of repository names for which information could not be found.
- Parameters:
repositoriesNotFound
- Returns a list of repository names for which information could not be found.
-
withRepositoriesNotFound
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)
orwithRepositoriesNotFound(java.util.Collection)
if you want to override the existing values.- Parameters:
repositoriesNotFound
- Returns a list of repository names for which information could not be found.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withRepositoriesNotFound
Returns a list of repository names for which information could not be found.
- Parameters:
repositoriesNotFound
- Returns a list of repository names for which information could not be found.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-