public static final class LibraryItemTypes.CreateTarget.Builder
extends java.lang.Object
LibraryItemTypes.CreateTarget
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
LibraryItemTypes.CreateTarget . |
Modifier and Type | Method and Description |
---|---|
LibraryItemTypes.CreateTarget |
build() |
LibraryItemTypes.CreateTarget.Builder |
setLibraryId(java.lang.String libraryId)
Identifier of the library in which a new library item should be created.
|
LibraryItemTypes.CreateTarget.Builder |
setLibraryItemId(java.lang.String libraryItemId)
Identifier of the library item that should be should be updated.
|
public Builder()
LibraryItemTypes.CreateTarget
.public LibraryItemTypes.CreateTarget.Builder setLibraryId(java.lang.String libraryId)
getLibraryItemId()
property is specified.
This property is currently required.
In the future, if null
, the
getLibraryItemId()
property must be specified.
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 LibraryItemTypes.CreateTarget.Builder setLibraryItemId(java.lang.String libraryItemId)
null
, a new library item will be created. The getLibraryId()
property must be specified if this property is Set
.libraryItemId
- 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.CreateTarget build()