public static final class ItemTypes.FindSpec.Builder extends Object
ItemTypes.FindSpec.| Constructor and Description |
|---|
ItemTypes.FindSpec.Builder()
Constructor with parameters for the required properties of
ItemTypes.FindSpec. |
| Modifier and Type | Method and Description |
|---|---|
ItemTypes.FindSpec |
build() |
ItemTypes.FindSpec.Builder |
setCached(Boolean cached)
Whether the item is cached.
|
ItemTypes.FindSpec.Builder |
setLibraryId(String libraryId)
The identifier of the library containing the item.
|
ItemTypes.FindSpec.Builder |
setName(String name)
The name of the library item.
|
ItemTypes.FindSpec.Builder |
setSourceId(String sourceId)
The identifier of the library item as reported by the publisher.
|
ItemTypes.FindSpec.Builder |
setType(String type)
The type of the library item.
|
public ItemTypes.FindSpec.Builder()
ItemTypes.FindSpec.public ItemTypes.FindSpec.Builder setName(String name)
ItemModel.getName().
If not specified all library item names are searched.name - New value for the property.public ItemTypes.FindSpec.Builder setLibraryId(String libraryId)
ItemModel.getLibraryId().
If not specified all libraries are searched.libraryId - 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: com.vmware.content.Library. When
methods return a value of this class as a return value, the property will be an
identifier for the resource type: com.vmware.content.Library.public ItemTypes.FindSpec.Builder setSourceId(String sourceId)
ItemModel.getSourceId().
If not specified all library items are searched.sourceId - 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: com.vmware.content.library.Item. When
methods return a value of this class as a return value, the property will be an
identifier for the resource type: com.vmware.content.library.Item.public ItemTypes.FindSpec.Builder setType(String type)
ItemModel.getType().
If not specified all types are searched.type - New value for the property.public ItemTypes.FindSpec.Builder setCached(Boolean cached)
ItemModel.getCached().
If not specified all library items are searched.cached - New value for the property.public ItemTypes.FindSpec build()
Copyright © 2016. All Rights Reserved.