public static final class DatasetMetadata.Builder extends Object
DatasetMetadata object.| Constructor and Description |
|---|
DatasetMetadata.Builder(String datasetName)
Constructs a
DatasetMetadata.Builder object with initial dataset name. |
| Modifier and Type | Method and Description |
|---|---|
DatasetMetadata |
build()
Builds the
DatasetMetadata object. |
DatasetMetadata.Builder |
creationDate(Date creationDate)
Sets the creation date of this dataset.
|
DatasetMetadata.Builder |
lastModifiedBy(String lastModifiedBy)
Sets the device which made the last modification.
|
DatasetMetadata.Builder |
lastModifiedDate(Date lastModifiedDate)
Sets the last modified date.
|
DatasetMetadata.Builder |
recordCount(long recordCount)
Sets the number of records in this dataset.
|
DatasetMetadata.Builder |
storageSizeBytes(long storageSizeBytes)
Set the storage size in bytes of this dataset.
|
public DatasetMetadata.Builder(String datasetName)
DatasetMetadata.Builder object with initial dataset name.datasetName - name of the dataset to be constructedpublic DatasetMetadata.Builder creationDate(Date creationDate)
creationDate - creation date of this dataset.public DatasetMetadata.Builder lastModifiedDate(Date lastModifiedDate)
lastModifiedDate - last modified datepublic DatasetMetadata.Builder lastModifiedBy(String lastModifiedBy)
lastModifiedBy - device which made the last modificationpublic DatasetMetadata.Builder storageSizeBytes(long storageSizeBytes)
storageSizeBytes - storage size in bytespublic DatasetMetadata.Builder recordCount(long recordCount)
recordCount - number of recordspublic DatasetMetadata build()
DatasetMetadata object.Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.