@Generated(value="software.amazon.awssdk:codegen") public final class DatasetGroup extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DatasetGroup.Builder,DatasetGroup>
A dataset group is a collection of related datasets (Interactions, User, and Item). You create a dataset group by calling CreateDatasetGroup. You then create a dataset and add it to a dataset group by calling CreateDataset. The dataset group is used to create and train a solution by calling CreateSolution. A dataset group can contain only one of each type of dataset.
You can specify an Key Management Service (KMS) key to encrypt the datasets in the group.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DatasetGroup.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DatasetGroup.Builder |
builder() |
Instant |
creationDateTime()
The creation date and time (in Unix time) of the dataset group.
|
String |
datasetGroupArn()
The Amazon Resource Name (ARN) of the dataset group.
|
Domain |
domain()
The domain of a Domain dataset group.
|
String |
domainAsString()
The domain of a Domain dataset group.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
failureReason()
If creating a dataset group fails, provides the reason why.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
kmsKeyArn()
The Amazon Resource Name (ARN) of the Key Management Service (KMS) key used to encrypt the datasets.
|
Instant |
lastUpdatedDateTime()
The last update date and time (in Unix time) of the dataset group.
|
String |
name()
The name of the dataset group.
|
String |
roleArn()
The ARN of the IAM role that has permissions to create the dataset group.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DatasetGroup.Builder> |
serializableBuilderClass() |
String |
status()
The current status of the dataset group.
|
DatasetGroup.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The name of the dataset group.
public final String datasetGroupArn()
The Amazon Resource Name (ARN) of the dataset group.
public final String status()
The current 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
A dataset group can be in one of the following states:
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
DELETE PENDING
public final String roleArn()
The ARN of the IAM role that has permissions to create the dataset group.
public final String kmsKeyArn()
The Amazon Resource Name (ARN) of the Key Management Service (KMS) key used to encrypt the datasets.
public final Instant creationDateTime()
The creation date and time (in Unix time) of the dataset group.
public final Instant lastUpdatedDateTime()
The last update date and time (in Unix time) of the dataset group.
public final String failureReason()
If creating a dataset group fails, provides the reason why.
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, domain will
return Domain.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
domainAsString().
Domainpublic 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, domain will
return Domain.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
domainAsString().
Domainpublic DatasetGroup.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DatasetGroup.Builder,DatasetGroup>public static DatasetGroup.Builder builder()
public static Class<? extends DatasetGroup.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.