@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListCollectionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListCollectionsResult() |
Modifier and Type | Method and Description |
---|---|
ListCollectionsResult |
clone() |
boolean |
equals(Object obj) |
List<String> |
getCollectionIds()
An array of collection IDs.
|
List<String> |
getFaceModelVersions()
Latest face models being used with the corresponding collections in the array.
|
String |
getNextToken()
If the result is truncated, the response provides a
NextToken that you can use in the subsequent
request to fetch the next set of collection IDs. |
int |
hashCode() |
void |
setCollectionIds(Collection<String> collectionIds)
An array of collection IDs.
|
void |
setFaceModelVersions(Collection<String> faceModelVersions)
Latest face models being used with the corresponding collections in the array.
|
void |
setNextToken(String nextToken)
If the result is truncated, the response provides a
NextToken that you can use in the subsequent
request to fetch the next set of collection IDs. |
String |
toString()
Returns a string representation of this object.
|
ListCollectionsResult |
withCollectionIds(Collection<String> collectionIds)
An array of collection IDs.
|
ListCollectionsResult |
withCollectionIds(String... collectionIds)
An array of collection IDs.
|
ListCollectionsResult |
withFaceModelVersions(Collection<String> faceModelVersions)
Latest face models being used with the corresponding collections in the array.
|
ListCollectionsResult |
withFaceModelVersions(String... faceModelVersions)
Latest face models being used with the corresponding collections in the array.
|
ListCollectionsResult |
withNextToken(String nextToken)
If the result is truncated, the response provides a
NextToken that you can use in the subsequent
request to fetch the next set of collection IDs. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<String> getCollectionIds()
An array of collection IDs.
public void setCollectionIds(Collection<String> collectionIds)
An array of collection IDs.
collectionIds
- An array of collection IDs.public ListCollectionsResult withCollectionIds(String... collectionIds)
An array of collection IDs.
NOTE: This method appends the values to the existing list (if any). Use
setCollectionIds(java.util.Collection)
or withCollectionIds(java.util.Collection)
if you want
to override the existing values.
collectionIds
- An array of collection IDs.public ListCollectionsResult withCollectionIds(Collection<String> collectionIds)
An array of collection IDs.
collectionIds
- An array of collection IDs.public void setNextToken(String nextToken)
If the result is truncated, the response provides a NextToken
that you can use in the subsequent
request to fetch the next set of collection IDs.
nextToken
- If the result is truncated, the response provides a NextToken
that you can use in the
subsequent request to fetch the next set of collection IDs.public String getNextToken()
If the result is truncated, the response provides a NextToken
that you can use in the subsequent
request to fetch the next set of collection IDs.
NextToken
that you can use in the
subsequent request to fetch the next set of collection IDs.public ListCollectionsResult withNextToken(String nextToken)
If the result is truncated, the response provides a NextToken
that you can use in the subsequent
request to fetch the next set of collection IDs.
nextToken
- If the result is truncated, the response provides a NextToken
that you can use in the
subsequent request to fetch the next set of collection IDs.public List<String> getFaceModelVersions()
Latest face models being used with the corresponding collections in the array. For more information, see Model versioning. For
example, the value of FaceModelVersions[2]
is the version number for the face detection model used
by the collection in CollectionId[2]
.
FaceModelVersions[2]
is the version number for the
face detection model used by the collection in CollectionId[2]
.public void setFaceModelVersions(Collection<String> faceModelVersions)
Latest face models being used with the corresponding collections in the array. For more information, see Model versioning. For
example, the value of FaceModelVersions[2]
is the version number for the face detection model used
by the collection in CollectionId[2]
.
faceModelVersions
- Latest face models being used with the corresponding collections in the array. For more information, see
Model
versioning. For example, the value of FaceModelVersions[2]
is the version number for the
face detection model used by the collection in CollectionId[2]
.public ListCollectionsResult withFaceModelVersions(String... faceModelVersions)
Latest face models being used with the corresponding collections in the array. For more information, see Model versioning. For
example, the value of FaceModelVersions[2]
is the version number for the face detection model used
by the collection in CollectionId[2]
.
NOTE: This method appends the values to the existing list (if any). Use
setFaceModelVersions(java.util.Collection)
or withFaceModelVersions(java.util.Collection)
if
you want to override the existing values.
faceModelVersions
- Latest face models being used with the corresponding collections in the array. For more information, see
Model
versioning. For example, the value of FaceModelVersions[2]
is the version number for the
face detection model used by the collection in CollectionId[2]
.public ListCollectionsResult withFaceModelVersions(Collection<String> faceModelVersions)
Latest face models being used with the corresponding collections in the array. For more information, see Model versioning. For
example, the value of FaceModelVersions[2]
is the version number for the face detection model used
by the collection in CollectionId[2]
.
faceModelVersions
- Latest face models being used with the corresponding collections in the array. For more information, see
Model
versioning. For example, the value of FaceModelVersions[2]
is the version number for the
face detection model used by the collection in CollectionId[2]
.public String toString()
toString
in class Object
Object.toString()
public ListCollectionsResult clone()