public static final class DatasetMetadata.Builder extends Object
DatasetMetadata object.| Constructor and Description |
|---|
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 nCreationDate)
Sets the creation date of this dataset.
|
DatasetMetadata.Builder |
lastModifiedBy(String nLastModifiedBy)
Sets the device which made the last modification.
|
DatasetMetadata.Builder |
lastModifiedDate(Date nLastModifiedDate)
Sets the last modified date.
|
DatasetMetadata.Builder |
recordCount(long nRecordCount)
Sets the number of records in this dataset.
|
DatasetMetadata.Builder |
storageSizeBytes(long nStorageSizeBytes)
Set the storage size in bytes of this dataset.
|
public Builder(String datasetName)
DatasetMetadata.Builder object with initial dataset name.datasetName - name of the dataset to be constructedpublic DatasetMetadata.Builder creationDate(Date nCreationDate)
nCreationDate - creation date of this dataset.public DatasetMetadata.Builder lastModifiedDate(Date nLastModifiedDate)
nLastModifiedDate - last modified datepublic DatasetMetadata.Builder lastModifiedBy(String nLastModifiedBy)
nLastModifiedBy - device which made the last modificationpublic DatasetMetadata.Builder storageSizeBytes(long nStorageSizeBytes)
nStorageSizeBytes - storage size in bytespublic DatasetMetadata.Builder recordCount(long nRecordCount)
nRecordCount - number of recordspublic DatasetMetadata build()
DatasetMetadata object.Copyright © 2019. All rights reserved.