@Generated(value="software.amazon.awssdk:codegen") public final class ListCollectionsResponse extends RekognitionResponse implements ToCopyableBuilder<ListCollectionsResponse.Builder,ListCollectionsResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
ListCollectionsResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ListCollectionsResponse.Builder |
builder() |
List<String> |
collectionIds()
An array of collection IDs.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<String> |
faceModelVersions()
Version numbers of the face detection models associated with the collections in the array
CollectionIds. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasCollectionIds()
Returns true if the CollectionIds property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
boolean |
hasFaceModelVersions()
Returns true if the FaceModelVersions property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
int |
hashCode() |
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. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends ListCollectionsResponse.Builder> |
serializableBuilderClass() |
ListCollectionsResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic boolean hasCollectionIds()
public List<String> collectionIds()
An array of collection IDs.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasCollectionIds() to see if a value was sent in this field.
public 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 that you can use in the
subsequent request to fetch the next set of collection IDs.public boolean hasFaceModelVersions()
public List<String> faceModelVersions()
Version numbers of the face detection models associated with the collections in the array
CollectionIds. For example, the value of FaceModelVersions[2] is the version number for
the face detection model used by the collection in CollectionId[2].
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasFaceModelVersions() to see if a value was sent in this field.
CollectionIds. For example, the value of FaceModelVersions[2] is the version
number for the face detection model used by the collection in CollectionId[2].public ListCollectionsResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ListCollectionsResponse.Builder,ListCollectionsResponse>toBuilder in class AwsResponsepublic static ListCollectionsResponse.Builder builder()
public static Class<? extends ListCollectionsResponse.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsResponsepublic boolean equals(Object obj)
equals in class AwsResponsepublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2020. All rights reserved.