@Generated(value="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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DatasetMetadata.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DatasetMetadata.Builder |
builder() |
Instant |
creationTimestamp()
The Unix timestamp for the date and time that the dataset was created.
|
String |
datasetArn()
The Amazon Resource Name (ARN) for the dataset.
|
DatasetType |
datasetType()
The type of the dataset.
|
String |
datasetTypeAsString()
The type of the dataset.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends DatasetMetadata.Builder> |
serializableBuilderClass() |
DatasetStatus |
status()
The status for the dataset.
|
String |
statusAsString()
The status for the dataset.
|
String |
statusMessage()
The status message for the dataset.
|
DatasetStatusMessageCode |
statusMessageCode()
The status message code for the dataset operation.
|
String |
statusMessageCodeAsString()
The status message code for the dataset operation.
|
DatasetMetadata.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Instant creationTimestamp()
The Unix timestamp for the date and time that the dataset was created.
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, datasetType will
return DatasetType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
datasetTypeAsString().
DatasetTypepublic final String datasetTypeAsString()
The type of the dataset.
If the service returns an enum value that is not available in the current SDK version, datasetType will
return DatasetType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
datasetTypeAsString().
DatasetTypepublic final String datasetArn()
The Amazon Resource Name (ARN) for the dataset.
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, status will
return DatasetStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
DatasetStatuspublic final String statusAsString()
The status for the dataset.
If the service returns an enum value that is not available in the current SDK version, status will
return DatasetStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
DatasetStatuspublic final String statusMessage()
The status message for the dataset.
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, statusMessageCode
will return DatasetStatusMessageCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from statusMessageCodeAsString().
DatasetStatusMessageCodepublic 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, statusMessageCode
will return DatasetStatusMessageCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from statusMessageCodeAsString().
DatasetStatusMessageCodepublic DatasetMetadata.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DatasetMetadata.Builder,DatasetMetadata>public static DatasetMetadata.Builder builder()
public static Class<? extends DatasetMetadata.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.