Class DatasetGroup
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<DatasetGroup.Builder,
DatasetGroup>
A dataset group is a collection of related datasets (Item interactions, Users, Items, Actions, Action interactions). 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.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic DatasetGroup.Builder
builder()
final Instant
The creation date and time (in Unix time) of the dataset group.final String
The Amazon Resource Name (ARN) of the dataset group.final Domain
domain()
The domain of a Domain dataset group.final String
The domain of a Domain dataset group.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final String
If creating a dataset group fails, provides the reason why.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final String
The Amazon Resource Name (ARN) of the Key Management Service (KMS) key used to encrypt the datasets.final Instant
The last update date and time (in Unix time) of the dataset group.final String
name()
The name of the dataset group.final String
roleArn()
The ARN of the Identity and Access Management (IAM) role that has permissions to access the Key Management Service (KMS) key.static Class
<? extends DatasetGroup.Builder> final String
status()
The current status of the dataset group.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
name
-
datasetGroupArn
The Amazon Resource Name (ARN) of the dataset group.
- Returns:
- The Amazon Resource Name (ARN) of the dataset group.
-
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
- Returns:
- 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
-
-
-
roleArn
The ARN of the Identity and Access Management (IAM) role that has permissions to access the Key Management Service (KMS) key. Supplying an IAM role is only valid when also specifying a KMS key.
- Returns:
- The ARN of the Identity and Access Management (IAM) role that has permissions to access the Key Management Service (KMS) key. Supplying an IAM role is only valid when also specifying a KMS key.
-
kmsKeyArn
The Amazon Resource Name (ARN) of the Key Management Service (KMS) key used to encrypt the datasets.
- Returns:
- The Amazon Resource Name (ARN) of the Key Management Service (KMS) key used to encrypt the datasets.
-
creationDateTime
The creation date and time (in Unix time) of the dataset group.
- Returns:
- The creation date and time (in Unix time) of the dataset group.
-
lastUpdatedDateTime
The last update date and time (in Unix time) of the dataset group.
- Returns:
- The last update date and time (in Unix time) of the dataset group.
-
failureReason
If creating a dataset group fails, provides the reason why.
- Returns:
- If creating a dataset group fails, provides the reason why.
-
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 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:
-
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 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:
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<DatasetGroup.Builder,
DatasetGroup> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-