@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DatasetSummary extends Object implements Serializable, Cloneable, StructuredPojo
Provides a summary of the properties of a dataset. For a complete listing, call the DescribeDataset API.
Constructor and Description |
---|
DatasetSummary() |
Modifier and Type | Method and Description |
---|---|
DatasetSummary |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationDateTime()
The date and time (in Unix time) that the dataset was created.
|
String |
getDatasetArn()
The Amazon Resource Name (ARN) of the dataset.
|
String |
getDatasetType()
The dataset type.
|
Date |
getLastUpdatedDateTime()
The date and time (in Unix time) that the dataset was last updated.
|
String |
getName()
The name of the dataset.
|
String |
getStatus()
The status of the dataset.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreationDateTime(Date creationDateTime)
The date and time (in Unix time) that the dataset was created.
|
void |
setDatasetArn(String datasetArn)
The Amazon Resource Name (ARN) of the dataset.
|
void |
setDatasetType(String datasetType)
The dataset type.
|
void |
setLastUpdatedDateTime(Date lastUpdatedDateTime)
The date and time (in Unix time) that the dataset was last updated.
|
void |
setName(String name)
The name of the dataset.
|
void |
setStatus(String status)
The status of the dataset.
|
String |
toString()
Returns a string representation of this object.
|
DatasetSummary |
withCreationDateTime(Date creationDateTime)
The date and time (in Unix time) that the dataset was created.
|
DatasetSummary |
withDatasetArn(String datasetArn)
The Amazon Resource Name (ARN) of the dataset.
|
DatasetSummary |
withDatasetType(String datasetType)
The dataset type.
|
DatasetSummary |
withLastUpdatedDateTime(Date lastUpdatedDateTime)
The date and time (in Unix time) that the dataset was last updated.
|
DatasetSummary |
withName(String name)
The name of the dataset.
|
DatasetSummary |
withStatus(String status)
The status of the 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 DatasetSummary 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.
datasetArn
- The Amazon Resource Name (ARN) of the dataset.public String getDatasetArn()
The Amazon Resource Name (ARN) of the dataset.
public DatasetSummary withDatasetArn(String datasetArn)
The Amazon Resource Name (ARN) of the dataset.
datasetArn
- The Amazon Resource Name (ARN) of the dataset.public void setDatasetType(String datasetType)
The dataset type. One of the following values:
Interactions
Items
Users
Event-Interactions
datasetType
- The dataset type. One of the following values:
Interactions
Items
Users
Event-Interactions
public String getDatasetType()
The dataset type. One of the following values:
Interactions
Items
Users
Event-Interactions
Interactions
Items
Users
Event-Interactions
public DatasetSummary withDatasetType(String datasetType)
The dataset type. One of the following values:
Interactions
Items
Users
Event-Interactions
datasetType
- The dataset type. One of the following values:
Interactions
Items
Users
Event-Interactions
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 DatasetSummary 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 date and time (in Unix time) that the dataset was created.
creationDateTime
- The date and time (in Unix time) that the dataset was created.public Date getCreationDateTime()
The date and time (in Unix time) that the dataset was created.
public DatasetSummary withCreationDateTime(Date creationDateTime)
The date and time (in Unix time) that the dataset was created.
creationDateTime
- The date and time (in Unix time) that the dataset was created.public void setLastUpdatedDateTime(Date lastUpdatedDateTime)
The date and time (in Unix time) that the dataset was last updated.
lastUpdatedDateTime
- The date and time (in Unix time) that the dataset was last updated.public Date getLastUpdatedDateTime()
The date and time (in Unix time) that the dataset was last updated.
public DatasetSummary withLastUpdatedDateTime(Date lastUpdatedDateTime)
The date and time (in Unix time) that the dataset was last updated.
lastUpdatedDateTime
- The date and time (in Unix time) that the dataset was last updated.public String toString()
toString
in class Object
Object.toString()
public DatasetSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.