Constructor and Description |
---|
Builder(java.lang.String name,
long diskCapacity)
Constructor with parameters for the required properties of
Disk . |
Modifier and Type | Method and Description |
---|---|
Disk |
build() |
Disk.Builder |
setStoragePolicy(StoragePolicy storagePolicy)
Storage policy of the disk.
|
public Builder(java.lang.String name, long diskCapacity)
Disk
.public Disk.Builder setStoragePolicy(StoragePolicy storagePolicy)
It is a reference to the storage policy group.
It is not required that storage policy be specified.storagePolicy
- New value for the property.public Disk build()