public static final class LibraryItemTypes.CreateResult.Builder extends Object
LibraryItemTypes.CreateResult.| Constructor and Description |
|---|
LibraryItemTypes.CreateResult.Builder(boolean succeeded)
Constructor with parameters for the required properties of
LibraryItemTypes.CreateResult. |
| Modifier and Type | Method and Description |
|---|---|
LibraryItemTypes.CreateResult |
build() |
LibraryItemTypes.CreateResult.Builder |
setError(LibraryItemTypes.ResultInfo error)
Errors, warnings, and informational messages produced by the
create()
method. |
LibraryItemTypes.CreateResult.Builder |
setOvfLibraryItemId(String ovfLibraryItemId)
Identifier of the created or updated library item.
|
public LibraryItemTypes.CreateResult.Builder(boolean succeeded)
LibraryItemTypes.CreateResult.public LibraryItemTypes.CreateResult.Builder setOvfLibraryItemId(String ovfLibraryItemId)
null, the create() method failed and LibraryItemTypes.CreateResult.getError() will describe the
error(s) that caused the failure.ovfLibraryItemId - 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 LibraryItemTypes.CreateResult.Builder setError(LibraryItemTypes.ResultInfo error)
create()
method.
If null, no errors, warnings, or informational messages were reported by
the create() method.error - New value for the property.public LibraryItemTypes.CreateResult build()
Copyright © 2016. All Rights Reserved.