Class DatasetMetadata
- java.lang.Object
-
- software.amazon.awssdk.services.rekognition.model.DatasetMetadata
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DatasetMetadata.Builder,DatasetMetadata>
@Generated("software.amazon.awssdk:codegen") public final class DatasetMetadata extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DatasetMetadata.Builder,DatasetMetadata>
Summary information for an Amazon Rekognition Custom Labels dataset. For more information, see ProjectDescription.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDatasetMetadata.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DatasetMetadata.Builderbuilder()InstantcreationTimestamp()The Unix timestamp for the date and time that the dataset was created.StringdatasetArn()The Amazon Resource Name (ARN) for the dataset.DatasetTypedatasetType()The type of the dataset.StringdatasetTypeAsString()The type of the dataset.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends DatasetMetadata.Builder>serializableBuilderClass()DatasetStatusstatus()The status for the dataset.StringstatusAsString()The status for 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.DatasetMetadata.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 date and time that the dataset was created.
- Returns:
- The Unix timestamp for the date and time that the dataset was created.
-
datasetType
public final DatasetType datasetType()
The type of the dataset.
If the service returns an enum value that is not available in the current SDK version,
datasetTypewill returnDatasetType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdatasetTypeAsString().- Returns:
- The type of the dataset.
- See Also:
DatasetType
-
datasetTypeAsString
public final String datasetTypeAsString()
The type of the dataset.
If the service returns an enum value that is not available in the current SDK version,
datasetTypewill returnDatasetType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdatasetTypeAsString().- Returns:
- The type of the dataset.
- See Also:
DatasetType
-
datasetArn
public final String datasetArn()
The Amazon Resource Name (ARN) for the dataset.
- Returns:
- The Amazon Resource Name (ARN) for the dataset.
-
status
public final DatasetStatus status()
The status for 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 for the dataset.
- See Also:
DatasetStatus
-
statusAsString
public final String statusAsString()
The status for 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 for 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
-
toBuilder
public DatasetMetadata.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DatasetMetadata.Builder,DatasetMetadata>
-
builder
public static DatasetMetadata.Builder builder()
-
serializableBuilderClass
public static Class<? extends DatasetMetadata.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-