Class DatasetSchema
- java.lang.Object
-
- software.amazon.awssdk.services.personalize.model.DatasetSchema
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DatasetSchema.Builder,DatasetSchema>
@Generated("software.amazon.awssdk:codegen") public final class DatasetSchema extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DatasetSchema.Builder,DatasetSchema>
Describes the schema for a dataset. For more information on schemas, see CreateSchema.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDatasetSchema.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DatasetSchema.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.Stringschema()The schema.StringschemaArn()The Amazon Resource Name (ARN) of the schema.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends DatasetSchema.Builder>serializableBuilderClass()DatasetSchema.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.
-
schema
public final String schema()
The schema.
- Returns:
- 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 DatasetSchema.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DatasetSchema.Builder,DatasetSchema>
-
builder
public static DatasetSchema.Builder builder()
-
serializableBuilderClass
public static Class<? extends DatasetSchema.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
-
-