Package com.vmware.nsx_policy.model
Class Datasource.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.Datasource.Builder
-
- Enclosing class:
- Datasource
public static final class Datasource.Builder extends java.lang.Object
Builder class forDatasource
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofDatasource
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Datasource
build()
Datasource.Builder
setDisplayName(java.lang.String displayName)
Name of a datasource instance.Datasource.Builder
setKeystoreInfo(KeyStoreInfo keystoreInfo)
Datasource.Builder
setUrls(java.util.List<UrlAlias> urls)
Array of urls relative to the datasource configuration.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofDatasource
.
-
-
Method Detail
-
setDisplayName
public Datasource.Builder setDisplayName(java.lang.String displayName)
Name of a datasource instance.- Parameters:
displayName
- New value for the property.
-
setKeystoreInfo
public Datasource.Builder setKeystoreInfo(KeyStoreInfo keystoreInfo)
- Parameters:
keystoreInfo
- New value for the property.
-
setUrls
public Datasource.Builder setUrls(java.util.List<UrlAlias> urls)
Array of urls relative to the datasource configuration. For example, api/v1/fabric/nodes is a relative url of nsx-manager instance.- Parameters:
urls
- New value for the property.
-
build
public Datasource build()
-
-