Class DatasetDescription
- java.lang.Object
-
- software.amazon.awssdk.services.rekognition.model.DatasetDescription
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DatasetDescription.Builder,DatasetDescription>
@Generated("software.amazon.awssdk:codegen") public final class DatasetDescription extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DatasetDescription.Builder,DatasetDescription>
A description for a dataset. For more information, see DescribeDataset.
The status fields
Status,StatusMessage, andStatusMessageCodereflect the last operation on the dataset.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDatasetDescription.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DatasetDescription.Builderbuilder()InstantcreationTimestamp()The Unix timestamp for the time and date that the dataset was created.DatasetStatsdatasetStats()The status message code for the dataset.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastUpdatedTimestamp()The Unix timestamp for the date and time that the dataset was last updated.List<SdkField<?>>sdkFields()static Class<? extends DatasetDescription.Builder>serializableBuilderClass()DatasetStatusstatus()The status of the dataset.StringstatusAsString()The status of the dataset.StringstatusMessage()The status message for the dataset.DatasetStatusMessageCodestatusMessageCode()The status message code for the dataset operation.StringstatusMessageCodeAsString()The status message code for the dataset operation.DatasetDescription.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
creationTimestamp
public final Instant creationTimestamp()
The Unix timestamp for the time and date that the dataset was created.
- Returns:
- The Unix timestamp for the time and date that the dataset was created.
-
lastUpdatedTimestamp
public final Instant lastUpdatedTimestamp()
The Unix timestamp for the date and time that the dataset was last updated.
- Returns:
- The Unix timestamp for the date and time that the dataset was last updated.
-
status
public final DatasetStatus status()
The status of the dataset.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnDatasetStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the dataset.
- See Also:
DatasetStatus
-
statusAsString
public final String statusAsString()
The status of the dataset.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnDatasetStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the dataset.
- See Also:
DatasetStatus
-
statusMessage
public final String statusMessage()
The status message for the dataset.
- Returns:
- The status message for the dataset.
-
statusMessageCode
public final DatasetStatusMessageCode statusMessageCode()
The status message code for the dataset operation. If a service error occurs, try the API call again later. If a client error occurs, check the input parameters to the dataset API call that failed.
If the service returns an enum value that is not available in the current SDK version,
statusMessageCodewill returnDatasetStatusMessageCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusMessageCodeAsString().- Returns:
- The status message code for the dataset operation. If a service error occurs, try the API call again later. If a client error occurs, check the input parameters to the dataset API call that failed.
- See Also:
DatasetStatusMessageCode
-
statusMessageCodeAsString
public final String statusMessageCodeAsString()
The status message code for the dataset operation. If a service error occurs, try the API call again later. If a client error occurs, check the input parameters to the dataset API call that failed.
If the service returns an enum value that is not available in the current SDK version,
statusMessageCodewill returnDatasetStatusMessageCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusMessageCodeAsString().- Returns:
- The status message code for the dataset operation. If a service error occurs, try the API call again later. If a client error occurs, check the input parameters to the dataset API call that failed.
- See Also:
DatasetStatusMessageCode
-
datasetStats
public final DatasetStats datasetStats()
The status message code for the dataset.
- Returns:
- The status message code for the dataset.
-
toBuilder
public DatasetDescription.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DatasetDescription.Builder,DatasetDescription>
-
builder
public static DatasetDescription.Builder builder()
-
serializableBuilderClass
public static Class<? extends DatasetDescription.Builder> serializableBuilderClass()
-
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.
-
-