Class DatasetGroupSummary
- java.lang.Object
-
- software.amazon.awssdk.services.personalize.model.DatasetGroupSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DatasetGroupSummary.Builder,DatasetGroupSummary>
@Generated("software.amazon.awssdk:codegen") public final class DatasetGroupSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DatasetGroupSummary.Builder,DatasetGroupSummary>
Provides a summary of the properties of a dataset group. For a complete listing, call the DescribeDatasetGroup API.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDatasetGroupSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DatasetGroupSummary.Builderbuilder()InstantcreationDateTime()The date and time (in Unix time) that the dataset group was created.StringdatasetGroupArn()The Amazon Resource Name (ARN) of the dataset group.Domaindomain()The domain of a Domain dataset group.StringdomainAsString()The domain of a Domain dataset group.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfailureReason()If creating a dataset group fails, the reason behind the failure.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastUpdatedDateTime()The date and time (in Unix time) that the dataset group was last updated.Stringname()The name of the dataset group.List<SdkField<?>>sdkFields()static Class<? extends DatasetGroupSummary.Builder>serializableBuilderClass()Stringstatus()The status of the dataset group.DatasetGroupSummary.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 group.
- Returns:
- The name of the dataset group.
-
datasetGroupArn
public final String datasetGroupArn()
The Amazon Resource Name (ARN) of the dataset group.
- Returns:
- The Amazon Resource Name (ARN) of the dataset group.
-
status
public final String status()
The status of the dataset group.
A dataset group can be in one of the following states:
-
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
-
DELETE PENDING
- Returns:
- The status of the dataset group.
A dataset group can be in one of the following states:
-
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
-
DELETE PENDING
-
-
-
creationDateTime
public final Instant creationDateTime()
The date and time (in Unix time) that the dataset group was created.
- Returns:
- The date and time (in Unix time) that the dataset group was created.
-
lastUpdatedDateTime
public final Instant lastUpdatedDateTime()
The date and time (in Unix time) that the dataset group was last updated.
- Returns:
- The date and time (in Unix time) that the dataset group was last updated.
-
failureReason
public final String failureReason()
If creating a dataset group fails, the reason behind the failure.
- Returns:
- If creating a dataset group fails, the reason behind the failure.
-
domain
public final Domain domain()
The domain of 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 Domain dataset group.
- See Also:
Domain
-
domainAsString
public final String domainAsString()
The domain of 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 Domain dataset group.
- See Also:
Domain
-
toBuilder
public DatasetGroupSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DatasetGroupSummary.Builder,DatasetGroupSummary>
-
builder
public static DatasetGroupSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends DatasetGroupSummary.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.
-
-