public static final class LibraryItemTypes.CreateSpec.Builder
extends java.lang.Object
LibraryItemTypes.CreateSpec
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
LibraryItemTypes.CreateSpec . |
Modifier and Type | Method and Description |
---|---|
LibraryItemTypes.CreateSpec |
build() |
LibraryItemTypes.CreateSpec.Builder |
setDescription(java.lang.String description)
Description to use in the OVF descriptor stored in the library item.
|
LibraryItemTypes.CreateSpec.Builder |
setFlags(java.util.List<java.lang.String> flags)
Flags to use for OVF package creation.
|
LibraryItemTypes.CreateSpec.Builder |
setName(java.lang.String name)
Name to use in the OVF descriptor stored in the library item.
|
public Builder()
LibraryItemTypes.CreateSpec
.public LibraryItemTypes.CreateSpec.Builder setName(java.lang.String name)
null
, the server will use source's current name.name
- New value for the property.public LibraryItemTypes.CreateSpec.Builder setDescription(java.lang.String description)
null
, the server will use source's current annotation.description
- New value for the property.public LibraryItemTypes.CreateSpec.Builder setFlags(java.util.List<java.lang.String> flags)
ExportFlag.list()
.
If null
, no flags will be used.flags
- New value for the property.public LibraryItemTypes.CreateSpec build()