Class DescribeCollectionResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.rekognition.model.RekognitionResponse
-
- software.amazon.awssdk.services.rekognition.model.DescribeCollectionResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DescribeCollectionResponse.Builder,DescribeCollectionResponse>
@Generated("software.amazon.awssdk:codegen") public final class DescribeCollectionResponse extends RekognitionResponse implements ToCopyableBuilder<DescribeCollectionResponse.Builder,DescribeCollectionResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDescribeCollectionResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DescribeCollectionResponse.Builderbuilder()StringcollectionARN()The Amazon Resource Name (ARN) of the collection.InstantcreationTimestamp()The number of milliseconds since the Unix epoch time until the creation of the collection.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)LongfaceCount()The number of faces that are indexed into the collection.StringfaceModelVersion()The version of the face model that's used by the collection for face detection.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends DescribeCollectionResponse.Builder>serializableBuilderClass()DescribeCollectionResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.LonguserCount()The number of UserIDs assigned to the specified colleciton.-
Methods inherited from class software.amazon.awssdk.services.rekognition.model.RekognitionResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
faceCount
public final Long faceCount()
The number of faces that are indexed into the collection. To index faces into a collection, use IndexFaces.
- Returns:
- The number of faces that are indexed into the collection. To index faces into a collection, use IndexFaces.
-
faceModelVersion
public final String faceModelVersion()
The version of the face model that's used by the collection for face detection.
For more information, see Model versioning in the Amazon Rekognition Developer Guide.
- Returns:
- The version of the face model that's used by the collection for face detection.
For more information, see Model versioning in the Amazon Rekognition Developer Guide.
-
collectionARN
public final String collectionARN()
The Amazon Resource Name (ARN) of the collection.
- Returns:
- The Amazon Resource Name (ARN) of the collection.
-
creationTimestamp
public final Instant creationTimestamp()
The number of milliseconds since the Unix epoch time until the creation of the collection. The Unix epoch time is 00:00:00 Coordinated Universal Time (UTC), Thursday, 1 January 1970.
- Returns:
- The number of milliseconds since the Unix epoch time until the creation of the collection. The Unix epoch time is 00:00:00 Coordinated Universal Time (UTC), Thursday, 1 January 1970.
-
userCount
public final Long userCount()
The number of UserIDs assigned to the specified colleciton.
- Returns:
- The number of UserIDs assigned to the specified colleciton.
-
toBuilder
public DescribeCollectionResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DescribeCollectionResponse.Builder,DescribeCollectionResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static DescribeCollectionResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends DescribeCollectionResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
-