Package com.vmware.nsx_policy.model
Class SiteInfo.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.SiteInfo.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SiteInfo
build()
SiteInfo.Builder
setEdgeClusterPaths(java.util.List<java.lang.String> edgeClusterPaths)
The edge cluster on which the networking elements for the Org will be created.SiteInfo.Builder
setSitePath(java.lang.String sitePath)
This represents the path of the site which is managed by Global Manager.SiteInfo.Builder
setTransportZonePaths(java.util.List<java.lang.String> transportZonePaths)
This represents the path of the transport zone on which elements of the project will be created.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofSiteInfo
.
-
-
Method Detail
-
setEdgeClusterPaths
public SiteInfo.Builder setEdgeClusterPaths(java.util.List<java.lang.String> edgeClusterPaths)
The edge cluster on which the networking elements for the Org will be created. In case of Label, it should have reference of Edge cluster path.- Parameters:
edgeClusterPaths
- New value for the property.
-
setSitePath
public SiteInfo.Builder setSitePath(java.lang.String sitePath)
This represents the path of the site which is managed by Global Manager. For the local manager, if set, this needs to point to 'default'.- Parameters:
sitePath
- New value for the property.
-
setTransportZonePaths
public SiteInfo.Builder setTransportZonePaths(java.util.List<java.lang.String> transportZonePaths)
This represents the path of the transport zone on which elements of the project will be created. If not provided, this field is set to the path of the default transport zone for the associated site. Transport zone cannot be modified.- Parameters:
transportZonePaths
- New value for the property.
-
build
public SiteInfo build()
-
-