@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 AWS 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.
|
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 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 String name()
The name of the dataset group.
public String datasetGroupArn()
The Amazon Resource Name (ARN) of the dataset group.
public 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 String roleArn()
The ARN of the IAM role that has permissions to create the dataset group.
public String kmsKeyArn()
The Amazon Resource Name (ARN) of the KMS key used to encrypt the datasets.
public Instant creationDateTime()
The creation date and time (in Unix time) of the dataset group.
public Instant lastUpdatedDateTime()
The last update date and time (in Unix time) of the dataset group.
public String failureReason()
If creating a dataset group fails, provides the reason why.
public DatasetGroup.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DatasetGroup.Builder,DatasetGroup>public static DatasetGroup.Builder builder()
public static Class<? extends DatasetGroup.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2019. All rights reserved.