public static final class SourceCreateSpec.Builder
extends java.lang.Object
SourceCreateSpec
.Constructor and Description |
---|
Builder(java.lang.String description,
SourceType type)
Constructor with parameters for the required properties of
SourceCreateSpec . |
Modifier and Type | Method and Description |
---|---|
SourceCreateSpec |
build() |
SourceCreateSpec.Builder |
setAddress(java.net.URI address)
Connection information of the remote server.
|
SourceCreateSpec.Builder |
setFilepath(java.lang.String filepath)
Absolute file path of the metamodel metadata file that has the metamodel
information about one component element.
|
public Builder(java.lang.String description, SourceType type)
SourceCreateSpec
.public SourceCreateSpec.Builder setFilepath(java.lang.String filepath)
getType()
is SourceType.FILE
.filepath
- New value for the property.public SourceCreateSpec.Builder setAddress(java.net.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 SourceCreateSpec build()