public static final class SourceTypes.Info.Builder extends Object
SourceTypes.Info
.Constructor and Description |
---|
SourceTypes.Info.Builder(String description,
SourceType type)
Constructor with parameters for the required properties of
SourceTypes.Info . |
Modifier and Type | Method and Description |
---|---|
SourceTypes.Info |
build() |
SourceTypes.Info.Builder |
setAddress(URI address)
Connection information for the remote server.
|
SourceTypes.Info.Builder |
setFilepath(String filepath)
Absolute file path of the CLI metadata file that has the CLI information about
one component.
|
public SourceTypes.Info.Builder(String description, SourceType type)
SourceTypes.Info
.public SourceTypes.Info.Builder setFilepath(String filepath)
getFilepath()
is the path to the file in the server's
filesystem.
This property is optional and it is only relevant when the value of getType()
is SourceType#FILE
.filepath
- New value for the property.public SourceTypes.Info.Builder setAddress(URI address)
The remote server must contain the interfaces
in the com.vmware.vapi.metadata.cli
package. It must expose CLI
information of one or more components.
getType()
is SourceType#REMOTE
.address
- New value for the property.public SourceTypes.Info build()
Copyright © 2016. All Rights Reserved.