public static final class DatastoreTypes.Summary.Builder
extends java.lang.Object
DatastoreTypes.Summary
.Constructor and Description |
---|
Builder(java.lang.String datastore,
java.lang.String name,
DatastoreTypes.Type type)
Constructor with parameters for the required properties of
DatastoreTypes.Summary . |
Modifier and Type | Method and Description |
---|---|
DatastoreTypes.Summary |
build() |
DatastoreTypes.Summary.Builder |
setCapacity(java.lang.Long capacity)
Capacity of this datastore, in bytes.
|
DatastoreTypes.Summary.Builder |
setFreeSpace(java.lang.Long freeSpace)
Available space of this datastore, in bytes.
|
public Builder(java.lang.String datastore, java.lang.String name, DatastoreTypes.Type type)
DatastoreTypes.Summary
.public DatastoreTypes.Summary.Builder setFreeSpace(java.lang.Long freeSpace)
The server periodically updates this value.
This property will benull
if the available space of this datastore is
not known.freeSpace
- New value for the property.public DatastoreTypes.Summary.Builder setCapacity(java.lang.Long capacity)
The server periodically updates this value.
This property will benull
if the capacity of this datastore is not
known.capacity
- New value for the property.public DatastoreTypes.Summary build()