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 privilege metadata file that has the privilege
information about one component element.
|
public SourceTypes.Info.Builder(String description, SourceType type)
SourceTypes.Info
.public SourceTypes.Info.Builder setFilepath(String filepath)
filePath
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 support the interfaces
in the com.vmware.vapi.metadata.privilege
package. It must expose
privilege 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.