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.Builderbuilder()final InstantThe creation date and time (in Unix time) of the dataset group.final StringThe Amazon Resource Name (ARN) of the dataset group.final Domaindomain()The domain of a Domain dataset group.final StringThe domain of a Domain dataset group.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final StringIf creating a dataset group fails, provides the reason why.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe Amazon Resource Name (ARN) of the Key Management Service (KMS) key used to encrypt the datasets.final InstantThe last update date and time (in Unix time) of the dataset group.final Stringname()The name of the dataset group.final StringroleArn()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 Stringstatus()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 StringtoString()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,
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:
-
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:
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<DatasetGroup.Builder,DatasetGroup> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin 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
-