public static final class SourceTypes.CreateSpec.Builder extends Object
SourceTypes.CreateSpec
.Constructor and Description |
---|
SourceTypes.CreateSpec.Builder(String description,
SourceType type)
Constructor with parameters for the required properties of
SourceTypes.CreateSpec . |
Modifier and Type | Method and Description |
---|---|
SourceTypes.CreateSpec |
build() |
SourceTypes.CreateSpec.Builder |
setAddress(URI address)
Connection information of the remote server.
|
SourceTypes.CreateSpec.Builder |
setFilepath(String filepath)
Absolute file path of the metamodel metadata file that has the metamodel
information about one component element.
|
public SourceTypes.CreateSpec.Builder(String description, SourceType type)
SourceTypes.CreateSpec
.public SourceTypes.CreateSpec.Builder setFilepath(String filepath)
getType()
is SourceType.FILE
.filepath
- New value for the property.public SourceTypes.CreateSpec.Builder setAddress(URI address)
The remote server should contain the
interfaces in com.vmware.vapi.metadata.metamodel
package. It could
expose metamodel information of one or more components.
getType()
is SourceType.REMOTE
.address
- New value for the property.public SourceTypes.CreateSpec build()
Copyright © 2016. All Rights Reserved.