@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DatasetGroup extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
DatasetGroup() |
Modifier and Type | Method and Description |
---|---|
DatasetGroup |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationDateTime()
The creation date and time (in Unix time) of the dataset group.
|
String |
getDatasetGroupArn()
The Amazon Resource Name (ARN) of the dataset group.
|
String |
getDomain()
The domain of a Domain dataset group.
|
String |
getFailureReason()
If creating a dataset group fails, provides the reason why.
|
String |
getKmsKeyArn()
The Amazon Resource Name (ARN) of the Key Management Service (KMS) key used to encrypt the datasets.
|
Date |
getLastUpdatedDateTime()
The last update date and time (in Unix time) of the dataset group.
|
String |
getName()
The name of the dataset group.
|
String |
getRoleArn()
The ARN of the Identity and Access Management (IAM) role that has permissions to access the Key Management
Service (KMS) key.
|
String |
getStatus()
The current status of the dataset group.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreationDateTime(Date creationDateTime)
The creation date and time (in Unix time) of the dataset group.
|
void |
setDatasetGroupArn(String datasetGroupArn)
The Amazon Resource Name (ARN) of the dataset group.
|
void |
setDomain(String domain)
The domain of a Domain dataset group.
|
void |
setFailureReason(String failureReason)
If creating a dataset group fails, provides the reason why.
|
void |
setKmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of the Key Management Service (KMS) key used to encrypt the datasets.
|
void |
setLastUpdatedDateTime(Date lastUpdatedDateTime)
The last update date and time (in Unix time) of the dataset group.
|
void |
setName(String name)
The name of the dataset group.
|
void |
setRoleArn(String roleArn)
The ARN of the Identity and Access Management (IAM) role that has permissions to access the Key Management
Service (KMS) key.
|
void |
setStatus(String status)
The current status of the dataset group.
|
String |
toString()
Returns a string representation of this object.
|
DatasetGroup |
withCreationDateTime(Date creationDateTime)
The creation date and time (in Unix time) of the dataset group.
|
DatasetGroup |
withDatasetGroupArn(String datasetGroupArn)
The Amazon Resource Name (ARN) of the dataset group.
|
DatasetGroup |
withDomain(Domain domain)
The domain of a Domain dataset group.
|
DatasetGroup |
withDomain(String domain)
The domain of a Domain dataset group.
|
DatasetGroup |
withFailureReason(String failureReason)
If creating a dataset group fails, provides the reason why.
|
DatasetGroup |
withKmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of the Key Management Service (KMS) key used to encrypt the datasets.
|
DatasetGroup |
withLastUpdatedDateTime(Date lastUpdatedDateTime)
The last update date and time (in Unix time) of the dataset group.
|
DatasetGroup |
withName(String name)
The name of the dataset group.
|
DatasetGroup |
withRoleArn(String roleArn)
The ARN of the Identity and Access Management (IAM) role that has permissions to access the Key Management
Service (KMS) key.
|
DatasetGroup |
withStatus(String status)
The current status of the dataset group.
|
public void setName(String name)
The name of the dataset group.
name
- The name of the dataset group.public String getName()
The name of the dataset group.
public DatasetGroup withName(String name)
The name of the dataset group.
name
- The name of the dataset group.public void setDatasetGroupArn(String datasetGroupArn)
The Amazon Resource Name (ARN) of the dataset group.
datasetGroupArn
- The Amazon Resource Name (ARN) of the dataset group.public String getDatasetGroupArn()
The Amazon Resource Name (ARN) of the dataset group.
public DatasetGroup withDatasetGroupArn(String datasetGroupArn)
The Amazon Resource Name (ARN) of the dataset group.
datasetGroupArn
- The Amazon Resource Name (ARN) of the dataset group.public void setStatus(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
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
public String getStatus()
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 DatasetGroup withStatus(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
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
public void setRoleArn(String 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.
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.public String getRoleArn()
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.
public DatasetGroup withRoleArn(String 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.
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.public void setKmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of the Key Management Service (KMS) key used to encrypt the datasets.
kmsKeyArn
- The Amazon Resource Name (ARN) of the Key Management Service (KMS) key used to encrypt the datasets.public String getKmsKeyArn()
The Amazon Resource Name (ARN) of the Key Management Service (KMS) key used to encrypt the datasets.
public DatasetGroup withKmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of the Key Management Service (KMS) key used to encrypt the datasets.
kmsKeyArn
- The Amazon Resource Name (ARN) of the Key Management Service (KMS) key used to encrypt the datasets.public void setCreationDateTime(Date creationDateTime)
The creation date and time (in Unix time) of the dataset group.
creationDateTime
- The creation date and time (in Unix time) of the dataset group.public Date getCreationDateTime()
The creation date and time (in Unix time) of the dataset group.
public DatasetGroup withCreationDateTime(Date creationDateTime)
The creation date and time (in Unix time) of the dataset group.
creationDateTime
- The creation date and time (in Unix time) of the dataset group.public void setLastUpdatedDateTime(Date lastUpdatedDateTime)
The last update date and time (in Unix time) of the dataset group.
lastUpdatedDateTime
- The last update date and time (in Unix time) of the dataset group.public Date getLastUpdatedDateTime()
The last update date and time (in Unix time) of the dataset group.
public DatasetGroup withLastUpdatedDateTime(Date lastUpdatedDateTime)
The last update date and time (in Unix time) of the dataset group.
lastUpdatedDateTime
- The last update date and time (in Unix time) of the dataset group.public void setFailureReason(String failureReason)
If creating a dataset group fails, provides the reason why.
failureReason
- If creating a dataset group fails, provides the reason why.public String getFailureReason()
If creating a dataset group fails, provides the reason why.
public DatasetGroup withFailureReason(String failureReason)
If creating a dataset group fails, provides the reason why.
failureReason
- If creating a dataset group fails, provides the reason why.public void setDomain(String domain)
The domain of a Domain dataset group.
domain
- The domain of a Domain dataset group.Domain
public String getDomain()
The domain of a Domain dataset group.
Domain
public DatasetGroup withDomain(String domain)
The domain of a Domain dataset group.
domain
- The domain of a Domain dataset group.Domain
public DatasetGroup withDomain(Domain domain)
The domain of a Domain dataset group.
domain
- The domain of a Domain dataset group.Domain
public String toString()
toString
in class Object
Object.toString()
public DatasetGroup clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.