@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Dataset extends Object implements Serializable, Cloneable, StructuredPojo
Provides metadata for a dataset.
Constructor and Description |
---|
Dataset() |
Modifier and Type | Method and Description |
---|---|
Dataset |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationDateTime()
The creation date and time (in Unix time) of the dataset.
|
String |
getDatasetArn()
The Amazon Resource Name (ARN) of the dataset that you want metadata for.
|
String |
getDatasetGroupArn()
The Amazon Resource Name (ARN) of the dataset group.
|
String |
getDatasetType()
One of the following values:
|
Date |
getLastUpdatedDateTime()
A time stamp that shows when the dataset was updated.
|
DatasetUpdateSummary |
getLatestDatasetUpdate()
Describes the latest update to the dataset.
|
String |
getName()
The name of the dataset.
|
String |
getSchemaArn()
The ARN of the associated schema.
|
String |
getStatus()
The status of the dataset.
|
String |
getTrackingId()
The ID of the event tracker for an Action interactions dataset.
|
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.
|
void |
setDatasetArn(String datasetArn)
The Amazon Resource Name (ARN) of the dataset that you want metadata for.
|
void |
setDatasetGroupArn(String datasetGroupArn)
The Amazon Resource Name (ARN) of the dataset group.
|
void |
setDatasetType(String datasetType)
One of the following values:
|
void |
setLastUpdatedDateTime(Date lastUpdatedDateTime)
A time stamp that shows when the dataset was updated.
|
void |
setLatestDatasetUpdate(DatasetUpdateSummary latestDatasetUpdate)
Describes the latest update to the dataset.
|
void |
setName(String name)
The name of the dataset.
|
void |
setSchemaArn(String schemaArn)
The ARN of the associated schema.
|
void |
setStatus(String status)
The status of the dataset.
|
void |
setTrackingId(String trackingId)
The ID of the event tracker for an Action interactions dataset.
|
String |
toString()
Returns a string representation of this object.
|
Dataset |
withCreationDateTime(Date creationDateTime)
The creation date and time (in Unix time) of the dataset.
|
Dataset |
withDatasetArn(String datasetArn)
The Amazon Resource Name (ARN) of the dataset that you want metadata for.
|
Dataset |
withDatasetGroupArn(String datasetGroupArn)
The Amazon Resource Name (ARN) of the dataset group.
|
Dataset |
withDatasetType(String datasetType)
One of the following values:
|
Dataset |
withLastUpdatedDateTime(Date lastUpdatedDateTime)
A time stamp that shows when the dataset was updated.
|
Dataset |
withLatestDatasetUpdate(DatasetUpdateSummary latestDatasetUpdate)
Describes the latest update to the dataset.
|
Dataset |
withName(String name)
The name of the dataset.
|
Dataset |
withSchemaArn(String schemaArn)
The ARN of the associated schema.
|
Dataset |
withStatus(String status)
The status of the dataset.
|
Dataset |
withTrackingId(String trackingId)
The ID of the event tracker for an Action interactions dataset.
|
public void setName(String name)
The name of the dataset.
name
- The name of the dataset.public String getName()
The name of the dataset.
public Dataset withName(String name)
The name of the dataset.
name
- The name of the dataset.public void setDatasetArn(String datasetArn)
The Amazon Resource Name (ARN) of the dataset that you want metadata for.
datasetArn
- The Amazon Resource Name (ARN) of the dataset that you want metadata for.public String getDatasetArn()
The Amazon Resource Name (ARN) of the dataset that you want metadata for.
public Dataset withDatasetArn(String datasetArn)
The Amazon Resource Name (ARN) of the dataset that you want metadata for.
datasetArn
- The Amazon Resource Name (ARN) of the dataset that you want metadata for.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 Dataset withDatasetGroupArn(String datasetGroupArn)
The Amazon Resource Name (ARN) of the dataset group.
datasetGroupArn
- The Amazon Resource Name (ARN) of the dataset group.public void setDatasetType(String datasetType)
One of the following values:
Interactions
Items
Users
Actions
Action_Interactions
datasetType
- One of the following values:
Interactions
Items
Users
Actions
Action_Interactions
public String getDatasetType()
One of the following values:
Interactions
Items
Users
Actions
Action_Interactions
Interactions
Items
Users
Actions
Action_Interactions
public Dataset withDatasetType(String datasetType)
One of the following values:
Interactions
Items
Users
Actions
Action_Interactions
datasetType
- One of the following values:
Interactions
Items
Users
Actions
Action_Interactions
public void setSchemaArn(String schemaArn)
The ARN of the associated schema.
schemaArn
- The ARN of the associated schema.public String getSchemaArn()
The ARN of the associated schema.
public Dataset withSchemaArn(String schemaArn)
The ARN of the associated schema.
schemaArn
- The ARN of the associated schema.public void setStatus(String status)
The status of the dataset.
A dataset can be in one of the following states:
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
DELETE PENDING > DELETE IN_PROGRESS
status
- The status of the dataset.
A dataset can be in one of the following states:
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
DELETE PENDING > DELETE IN_PROGRESS
public String getStatus()
The status of the dataset.
A dataset can be in one of the following states:
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
DELETE PENDING > DELETE IN_PROGRESS
A dataset can be in one of the following states:
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
DELETE PENDING > DELETE IN_PROGRESS
public Dataset withStatus(String status)
The status of the dataset.
A dataset can be in one of the following states:
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
DELETE PENDING > DELETE IN_PROGRESS
status
- The status of the dataset.
A dataset can be in one of the following states:
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
DELETE PENDING > DELETE IN_PROGRESS
public void setCreationDateTime(Date creationDateTime)
The creation date and time (in Unix time) of the dataset.
creationDateTime
- The creation date and time (in Unix time) of the dataset.public Date getCreationDateTime()
The creation date and time (in Unix time) of the dataset.
public Dataset withCreationDateTime(Date creationDateTime)
The creation date and time (in Unix time) of the dataset.
creationDateTime
- The creation date and time (in Unix time) of the dataset.public void setLastUpdatedDateTime(Date lastUpdatedDateTime)
A time stamp that shows when the dataset was updated.
lastUpdatedDateTime
- A time stamp that shows when the dataset was updated.public Date getLastUpdatedDateTime()
A time stamp that shows when the dataset was updated.
public Dataset withLastUpdatedDateTime(Date lastUpdatedDateTime)
A time stamp that shows when the dataset was updated.
lastUpdatedDateTime
- A time stamp that shows when the dataset was updated.public void setLatestDatasetUpdate(DatasetUpdateSummary latestDatasetUpdate)
Describes the latest update to the dataset.
latestDatasetUpdate
- Describes the latest update to the dataset.public DatasetUpdateSummary getLatestDatasetUpdate()
Describes the latest update to the dataset.
public Dataset withLatestDatasetUpdate(DatasetUpdateSummary latestDatasetUpdate)
Describes the latest update to the dataset.
latestDatasetUpdate
- Describes the latest update to the dataset.public void setTrackingId(String trackingId)
The ID of the event tracker for an Action interactions dataset. You specify the tracker's ID in the
PutActionInteractions
API operation. Amazon Personalize uses it to direct new data to the Action
interactions dataset in your dataset group.
trackingId
- The ID of the event tracker for an Action interactions dataset. You specify the tracker's ID in the
PutActionInteractions
API operation. Amazon Personalize uses it to direct new data to the
Action interactions dataset in your dataset group.public String getTrackingId()
The ID of the event tracker for an Action interactions dataset. You specify the tracker's ID in the
PutActionInteractions
API operation. Amazon Personalize uses it to direct new data to the Action
interactions dataset in your dataset group.
PutActionInteractions
API operation. Amazon Personalize uses it to direct new data to the
Action interactions dataset in your dataset group.public Dataset withTrackingId(String trackingId)
The ID of the event tracker for an Action interactions dataset. You specify the tracker's ID in the
PutActionInteractions
API operation. Amazon Personalize uses it to direct new data to the Action
interactions dataset in your dataset group.
trackingId
- The ID of the event tracker for an Action interactions dataset. You specify the tracker's ID in the
PutActionInteractions
API operation. Amazon Personalize uses it to direct new data to the
Action interactions dataset in your dataset group.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.