Class DescribeRepositoriesResult
- java.lang.Object
-
- com.amazonaws.services.ecr.model.DescribeRepositoriesResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class DescribeRepositoriesResult extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeRepositoriesResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeRepositoriesResult
clone()
boolean
equals(Object obj)
String
getNextToken()
ThenextToken
value to include in a futureDescribeRepositories
request.List<Repository>
getRepositories()
A list of repository objects corresponding to valid repositories.int
hashCode()
void
setNextToken(String nextToken)
ThenextToken
value to include in a futureDescribeRepositories
request.void
setRepositories(Collection<Repository> repositories)
A list of repository objects corresponding to valid repositories.String
toString()
Returns a string representation of this object; useful for testing and debugging.DescribeRepositoriesResult
withNextToken(String nextToken)
ThenextToken
value to include in a futureDescribeRepositories
request.DescribeRepositoriesResult
withRepositories(Repository... repositories)
A list of repository objects corresponding to valid repositories.DescribeRepositoriesResult
withRepositories(Collection<Repository> repositories)
A list of repository objects corresponding to valid repositories.
-
-
-
Method Detail
-
getRepositories
public List<Repository> getRepositories()
A list of repository objects corresponding to valid repositories.
- Returns:
- A list of repository objects corresponding to valid repositories.
-
setRepositories
public void setRepositories(Collection<Repository> repositories)
A list of repository objects corresponding to valid repositories.
- Parameters:
repositories
- A list of repository objects corresponding to valid repositories.
-
withRepositories
public DescribeRepositoriesResult withRepositories(Repository... repositories)
A list of repository objects corresponding to valid repositories.
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 repository objects corresponding to valid repositories.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withRepositories
public DescribeRepositoriesResult withRepositories(Collection<Repository> repositories)
A list of repository objects corresponding to valid repositories.
- Parameters:
repositories
- A list of repository objects corresponding to valid repositories.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
public void setNextToken(String nextToken)
The
nextToken
value to include in a futureDescribeRepositories
request. When the results of aDescribeRepositories
request exceedmaxResults
, this value can be used to retrieve the next page of results. This value isnull
when there are no more results to return.- Parameters:
nextToken
- ThenextToken
value to include in a futureDescribeRepositories
request. When the results of aDescribeRepositories
request exceedmaxResults
, this value can be used to retrieve the next page of results. This value isnull
when there are no more results to return.
-
getNextToken
public String getNextToken()
The
nextToken
value to include in a futureDescribeRepositories
request. When the results of aDescribeRepositories
request exceedmaxResults
, this value can be used to retrieve the next page of results. This value isnull
when there are no more results to return.- Returns:
- The
nextToken
value to include in a futureDescribeRepositories
request. When the results of aDescribeRepositories
request exceedmaxResults
, this value can be used to retrieve the next page of results. This value isnull
when there are no more results to return.
-
withNextToken
public DescribeRepositoriesResult withNextToken(String nextToken)
The
nextToken
value to include in a futureDescribeRepositories
request. When the results of aDescribeRepositories
request exceedmaxResults
, this value can be used to retrieve the next page of results. This value isnull
when there are no more results to return.- Parameters:
nextToken
- ThenextToken
value to include in a futureDescribeRepositories
request. When the results of aDescribeRepositories
request exceedmaxResults
, this value can be used to retrieve the next page of results. This value isnull
when there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeRepositoriesResult clone()
-
-