public static final class SourceInfo.Builder
extends java.lang.Object
SourceInfo
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
SourceInfo . |
Modifier and Type | Method and Description |
---|---|
SourceInfo |
build() |
SourceInfo.Builder |
setSourceLibrary(java.lang.String sourceLibrary)
Identifier of the published library.
|
SourceInfo.Builder |
setSubscription(java.lang.String subscription)
Identifier of the subscription associated with the subscribed library.
|
public Builder()
SourceInfo
.public SourceInfo.Builder setSourceLibrary(java.lang.String sourceLibrary)
create
method. It will always be
present in the return value of the get
or list
methods. It is
optional for the update
method.sourceLibrary
- 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 SourceInfo.Builder setSubscription(java.lang.String subscription)
create
method. It will always be
present in the return value of the get
or list
methods. It is
optional for the update
method.subscription
- 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.Subscriptions
. 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.Subscriptions
.public SourceInfo build()