public class BatchGetRepositoriesRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Represents the input of a batch get repositories operation.
Modifier and Type | Field and Description |
---|---|
private java.util.List<java.lang.String> |
repositoryNames
The names of the repositories to get information about.
|
NOOP
Constructor and Description |
---|
BatchGetRepositoriesRequest() |
Modifier and Type | Method and Description |
---|---|
BatchGetRepositoriesRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getRepositoryNames()
The names of the repositories to get information about.
|
int |
hashCode() |
void |
setRepositoryNames(java.util.Collection<java.lang.String> repositoryNames)
The names of the repositories to get information about.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
BatchGetRepositoriesRequest |
withRepositoryNames(java.util.Collection<java.lang.String> repositoryNames)
The names of the repositories to get information about.
|
BatchGetRepositoriesRequest |
withRepositoryNames(java.lang.String... repositoryNames)
The names of the repositories to get information about.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.util.List<java.lang.String> repositoryNames
The names of the repositories to get information about.
public java.util.List<java.lang.String> getRepositoryNames()
The names of the repositories to get information about.
public void setRepositoryNames(java.util.Collection<java.lang.String> repositoryNames)
The names of the repositories to get information about.
repositoryNames
- The names of the repositories to get information about.public BatchGetRepositoriesRequest withRepositoryNames(java.lang.String... repositoryNames)
The names of the repositories to get information about.
NOTE: This method appends the values to the existing list (if
any). Use setRepositoryNames(java.util.Collection)
or
withRepositoryNames(java.util.Collection)
if you want to
override the existing values.
repositoryNames
- The names of the repositories to get information about.public BatchGetRepositoriesRequest withRepositoryNames(java.util.Collection<java.lang.String> repositoryNames)
The names of the repositories to get information about.
repositoryNames
- The names of the repositories to get information about.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public BatchGetRepositoriesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()