public static final class DatasetMetadata.Builder
extends java.lang.Object
DatasetMetadata
object.Constructor and Description |
---|
Builder(java.lang.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(java.util.Date nCreationDate)
Sets the creation date of this dataset.
|
DatasetMetadata.Builder |
lastModifiedBy(java.lang.String nLastModifiedBy)
Sets the device which made the last modification.
|
DatasetMetadata.Builder |
lastModifiedDate(java.util.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(java.lang.String datasetName)
DatasetMetadata.Builder
object with initial dataset name.datasetName
- name of the dataset to be constructedpublic DatasetMetadata.Builder creationDate(java.util.Date nCreationDate)
nCreationDate
- creation date of this dataset.public DatasetMetadata.Builder lastModifiedDate(java.util.Date nLastModifiedDate)
nLastModifiedDate
- last modified datepublic DatasetMetadata.Builder lastModifiedBy(java.lang.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 © 2010 Amazon Web Services, Inc. All Rights Reserved.