public static final class StorageBacking.Builder
extends java.lang.Object
StorageBacking
.Constructor and Description |
---|
StorageBacking.Builder()
Constructor with parameters for the required properties of
StorageBacking . |
Modifier and Type | Method and Description |
---|---|
StorageBacking |
build() |
StorageBacking.Builder |
setDatastoreId(java.lang.String datastoreId)
Identifier of the datastore used to store the content in the library.
|
StorageBacking.Builder |
setStorageUri(java.net.URI storageUri)
URI identifying the location used to store the content in the library.
|
StorageBacking.Builder |
setType(StorageBacking.Type type)
Type (DATASTORE, OTHER) of
StorageBacking . |
public StorageBacking.Builder()
StorageBacking
.public StorageBacking.Builder setType(StorageBacking.Type type)
StorageBacking
.
This property must be provided for the create
method. It will always be
present in the return value of the get
or list
methods. It is
not used for the update
method.type
- New value for the property.public StorageBacking.Builder setDatastoreId(java.lang.String datastoreId)
getType()
is StorageBacking.Type.DATASTORE
.datastoreId
- New value for the property.
When clients pass a value of this class as a parameter, the property must be an
identifier for the resource type: Datastore
. When methods return a value
of this class as a return value, the property will be an identifier for the
resource type: Datastore
.public StorageBacking.Builder setStorageUri(java.net.URI storageUri)
The following URI formats are supported:
vSphere 6.5
vSphere 6.0 Update 1
vSphere 6.0
getType()
is StorageBacking.Type.OTHER
.storageUri
- New value for the property.public StorageBacking build()