Class DatasetImportJobSummary
- java.lang.Object
-
- software.amazon.awssdk.services.personalize.model.DatasetImportJobSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DatasetImportJobSummary.Builder,DatasetImportJobSummary>
@Generated("software.amazon.awssdk:codegen") public final class DatasetImportJobSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DatasetImportJobSummary.Builder,DatasetImportJobSummary>
Provides a summary of the properties of a dataset import job. For a complete listing, call the DescribeDatasetImportJob API.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDatasetImportJobSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DatasetImportJobSummary.Builderbuilder()InstantcreationDateTime()The date and time (in Unix time) that the dataset import job was created.StringdatasetImportJobArn()The Amazon Resource Name (ARN) of the dataset import job.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfailureReason()If a dataset import job fails, the reason behind the failure.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()ImportModeimportMode()The import mode the dataset import job used to update the data in the dataset.StringimportModeAsString()The import mode the dataset import job used to update the data in the dataset.StringjobName()The name of the dataset import job.InstantlastUpdatedDateTime()The date and time (in Unix time) that the dataset import job status was last updated.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends DatasetImportJobSummary.Builder>serializableBuilderClass()Stringstatus()The status of the dataset ACTIVE -or- CREATE FAILEDDatasetImportJobSummary.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
-
datasetImportJobArn
public final String datasetImportJobArn()
The Amazon Resource Name (ARN) of the dataset import job.
- Returns:
- The Amazon Resource Name (ARN) of the dataset import job.
-
jobName
public final String jobName()
The name of the dataset import job.
- Returns:
- The name of the dataset import job.
-
status
public final String status()
The status of the dataset ACTIVE -or- CREATE FAILED
- Returns:
- The status of the dataset import job.
A dataset import job can be in one of the following states:
-
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
-
-
creationDateTime
public final Instant creationDateTime()
The date and time (in Unix time) that the dataset import job was created.
- Returns:
- The date and time (in Unix time) that the dataset import job was created.
-
lastUpdatedDateTime
public final Instant lastUpdatedDateTime()
The date and time (in Unix time) that the dataset import job status was last updated.
- Returns:
- The date and time (in Unix time) that the dataset import job status was last updated.
-
failureReason
public final String failureReason()
If a dataset import job fails, the reason behind the failure.
- Returns:
- If a dataset import job fails, the reason behind the failure.
-
importMode
public final ImportMode importMode()
The import mode the dataset import job used to update the data in the dataset. For more information see Updating existing bulk data.
If the service returns an enum value that is not available in the current SDK version,
importModewill returnImportMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromimportModeAsString().- Returns:
- The import mode the dataset import job used to update the data in the dataset. For more information see Updating existing bulk data.
- See Also:
ImportMode
-
importModeAsString
public final String importModeAsString()
The import mode the dataset import job used to update the data in the dataset. For more information see Updating existing bulk data.
If the service returns an enum value that is not available in the current SDK version,
importModewill returnImportMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromimportModeAsString().- Returns:
- The import mode the dataset import job used to update the data in the dataset. For more information see Updating existing bulk data.
- See Also:
ImportMode
-
toBuilder
public DatasetImportJobSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DatasetImportJobSummary.Builder,DatasetImportJobSummary>
-
builder
public static DatasetImportJobSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends DatasetImportJobSummary.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
-
-