Class DatasetSchemaSummary
- java.lang.Object
-
- software.amazon.awssdk.services.personalize.model.DatasetSchemaSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DatasetSchemaSummary.Builder,DatasetSchemaSummary>
@Generated("software.amazon.awssdk:codegen") public final class DatasetSchemaSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DatasetSchemaSummary.Builder,DatasetSchemaSummary>
Provides a summary of the properties of a dataset schema. For a complete listing, call the DescribeSchema API.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDatasetSchemaSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DatasetSchemaSummary.Builderbuilder()InstantcreationDateTime()The date and time (in Unix time) that the schema was created.Domaindomain()The domain of a schema that you created for a dataset in a Domain dataset group.StringdomainAsString()The domain of a schema that you created for a dataset in a Domain dataset group.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 schema was last updated.Stringname()The name of the schema.StringschemaArn()The Amazon Resource Name (ARN) of the schema.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends DatasetSchemaSummary.Builder>serializableBuilderClass()DatasetSchemaSummary.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 schema.
- Returns:
- The name of the schema.
-
schemaArn
public final String schemaArn()
The Amazon Resource Name (ARN) of the schema.
- Returns:
- The Amazon Resource Name (ARN) of the schema.
-
creationDateTime
public final Instant creationDateTime()
The date and time (in Unix time) that the schema was created.
- Returns:
- The date and time (in Unix time) that the schema was created.
-
lastUpdatedDateTime
public final Instant lastUpdatedDateTime()
The date and time (in Unix time) that the schema was last updated.
- Returns:
- The date and time (in Unix time) that the schema was last updated.
-
domain
public final Domain domain()
The domain of a schema that you created for a dataset in a Domain dataset group.
If the service returns an enum value that is not available in the current SDK version,
domainwill returnDomain.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdomainAsString().- Returns:
- The domain of a schema that you created for a dataset in a Domain dataset group.
- See Also:
Domain
-
domainAsString
public final String domainAsString()
The domain of a schema that you created for a dataset in a Domain dataset group.
If the service returns an enum value that is not available in the current SDK version,
domainwill returnDomain.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdomainAsString().- Returns:
- The domain of a schema that you created for a dataset in a Domain dataset group.
- See Also:
Domain
-
toBuilder
public DatasetSchemaSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DatasetSchemaSummary.Builder,DatasetSchemaSummary>
-
builder
public static DatasetSchemaSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends DatasetSchemaSummary.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
-
-