@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchGetCollectionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
BatchGetCollectionRequest() |
Modifier and Type | Method and Description |
---|---|
BatchGetCollectionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getIds()
A list of collection IDs.
|
List<String> |
getNames()
A list of collection names.
|
int |
hashCode() |
void |
setIds(Collection<String> ids)
A list of collection IDs.
|
void |
setNames(Collection<String> names)
A list of collection names.
|
String |
toString()
Returns a string representation of this object.
|
BatchGetCollectionRequest |
withIds(Collection<String> ids)
A list of collection IDs.
|
BatchGetCollectionRequest |
withIds(String... ids)
A list of collection IDs.
|
BatchGetCollectionRequest |
withNames(Collection<String> names)
A list of collection names.
|
BatchGetCollectionRequest |
withNames(String... names)
A list of collection names.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public List<String> getIds()
A list of collection IDs. You can't provide names and IDs in the same request. The ID is part of the collection endpoint. You can also retrieve it using the ListCollections API.
public void setIds(Collection<String> ids)
A list of collection IDs. You can't provide names and IDs in the same request. The ID is part of the collection endpoint. You can also retrieve it using the ListCollections API.
ids
- A list of collection IDs. You can't provide names and IDs in the same request. The ID is part of the
collection endpoint. You can also retrieve it using the ListCollections API.public BatchGetCollectionRequest withIds(String... ids)
A list of collection IDs. You can't provide names and IDs in the same request. The ID is part of the collection endpoint. You can also retrieve it using the ListCollections API.
NOTE: This method appends the values to the existing list (if any). Use
setIds(java.util.Collection)
or withIds(java.util.Collection)
if you want to override the
existing values.
ids
- A list of collection IDs. You can't provide names and IDs in the same request. The ID is part of the
collection endpoint. You can also retrieve it using the ListCollections API.public BatchGetCollectionRequest withIds(Collection<String> ids)
A list of collection IDs. You can't provide names and IDs in the same request. The ID is part of the collection endpoint. You can also retrieve it using the ListCollections API.
ids
- A list of collection IDs. You can't provide names and IDs in the same request. The ID is part of the
collection endpoint. You can also retrieve it using the ListCollections API.public List<String> getNames()
A list of collection names. You can't provide names and IDs in the same request.
public void setNames(Collection<String> names)
A list of collection names. You can't provide names and IDs in the same request.
names
- A list of collection names. You can't provide names and IDs in the same request.public BatchGetCollectionRequest withNames(String... names)
A list of collection names. You can't provide names and IDs in the same request.
NOTE: This method appends the values to the existing list (if any). Use
setNames(java.util.Collection)
or withNames(java.util.Collection)
if you want to override the
existing values.
names
- A list of collection names. You can't provide names and IDs in the same request.public BatchGetCollectionRequest withNames(Collection<String> names)
A list of collection names. You can't provide names and IDs in the same request.
names
- A list of collection names. You can't provide names and IDs in the same request.public String toString()
toString
in class Object
Object.toString()
public BatchGetCollectionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()