Class DatasetSummary
- java.lang.Object
-
- software.amazon.awssdk.services.personalize.model.DatasetSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DatasetSummary.Builder,DatasetSummary>
@Generated("software.amazon.awssdk:codegen") public final class DatasetSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DatasetSummary.Builder,DatasetSummary>
Provides a summary of the properties of a dataset. For a complete listing, call the DescribeDataset API.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDatasetSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DatasetSummary.Builderbuilder()InstantcreationDateTime()The date and time (in Unix time) that the dataset was created.StringdatasetArn()The Amazon Resource Name (ARN) of the dataset.StringdatasetType()The dataset type.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastUpdatedDateTime()The date and time (in Unix time) that the dataset was last updated.Stringname()The name of the dataset.List<SdkField<?>>sdkFields()static Class<? extends DatasetSummary.Builder>serializableBuilderClass()Stringstatus()The status of the dataset.DatasetSummary.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
-
name
public final String name()
The name of the dataset.
- Returns:
- The name of the dataset.
-
datasetArn
public final String datasetArn()
The Amazon Resource Name (ARN) of the dataset.
- Returns:
- The Amazon Resource Name (ARN) of the dataset.
-
datasetType
public final String datasetType()
The dataset type. One of the following values:
-
Interactions
-
Items
-
Users
-
Event-Interactions
- Returns:
- The dataset type. One of the following values:
-
Interactions
-
Items
-
Users
-
Event-Interactions
-
-
-
status
public final String status()
The status of the dataset.
A dataset can be in one of the following states:
-
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
-
DELETE PENDING > DELETE IN_PROGRESS
- Returns:
- The status of the dataset.
A dataset can be in one of the following states:
-
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
-
DELETE PENDING > DELETE IN_PROGRESS
-
-
-
creationDateTime
public final Instant creationDateTime()
The date and time (in Unix time) that the dataset was created.
- Returns:
- The date and time (in Unix time) that the dataset was created.
-
lastUpdatedDateTime
public final Instant lastUpdatedDateTime()
The date and time (in Unix time) that the dataset was last updated.
- Returns:
- The date and time (in Unix time) that the dataset was last updated.
-
toBuilder
public DatasetSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DatasetSummary.Builder,DatasetSummary>
-
builder
public static DatasetSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends DatasetSummary.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.
-
-