Package com.vmware.nsx_policy.model
Class NSXTConnectionInfo.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.NSXTConnectionInfo.Builder
-
- Enclosing class:
- NSXTConnectionInfo
public static final class NSXTConnectionInfo.Builder extends java.lang.Object
Builder class forNSXTConnectionInfo
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofNSXTConnectionInfo
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NSXTConnectionInfo
build()
NSXTConnectionInfo.Builder
setEdgeClusterIds(java.util.List<java.lang.String> edgeClusterIds)
Edge Cluster UUIDs on enforcement point.NSXTConnectionInfo.Builder
setEnforcementPointAddress(java.lang.String enforcementPointAddress)
Value of this property could be Hostname or IP.NSXTConnectionInfo.Builder
setPassword(java.lang.String password)
Password.NSXTConnectionInfo.Builder
setThumbprint(java.lang.String thumbprint)
Thumbprint of EnforcementPoint in the form of a SHA-256 hash represented in lower case HEX.NSXTConnectionInfo.Builder
setTransportZoneIds(java.util.List<java.lang.String> transportZoneIds)
Transport Zone UUIDs on enforcement point.NSXTConnectionInfo.Builder
setUsername(java.lang.String username)
Username.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofNSXTConnectionInfo
.
-
-
Method Detail
-
setEdgeClusterIds
public NSXTConnectionInfo.Builder setEdgeClusterIds(java.util.List<java.lang.String> edgeClusterIds)
Edge Cluster UUIDs on enforcement point. Edge cluster information is required for creating logical L2, L3 constructs on enforcement point. Max 1 edge cluster ID. This is a deprecated property. The edge cluster id is now auto populated from enforcement point and its value can be read using APIs GET /infra/sites/site-id/enforcement-points/enforcementpoint-id/edge-clusters and GET /infra/sites/site-id/enforcement-points/enforcementpoint-1/edge-clusters/edge-cluster-id. The value passed through this property will be ignored.- Parameters:
edgeClusterIds
- New value for the property.
-
setPassword
public NSXTConnectionInfo.Builder setPassword(java.lang.String password)
Password.- Parameters:
password
- New value for the property.
-
setThumbprint
public NSXTConnectionInfo.Builder setThumbprint(java.lang.String thumbprint)
Thumbprint of EnforcementPoint in the form of a SHA-256 hash represented in lower case HEX.- Parameters:
thumbprint
- New value for the property.
-
setTransportZoneIds
public NSXTConnectionInfo.Builder setTransportZoneIds(java.util.List<java.lang.String> transportZoneIds)
Transport Zone UUIDs on enforcement point. Transport zone information is required for creating logical L2, L3 constructs on enforcement point. Max 1 transport zone ID. This is a deprecated property. The transport zone id is now auto populated from enforcement point and its value can be read using APIs GET /infra/sites/site-id/enforcement-points/enforcementpoint-id/transport-zones and GET /infra/sites/site-id/enforcement-points/enforcementpoint-id/transport-zones/transport-zone-id. The value passed through this property will be ignored.- Parameters:
transportZoneIds
- New value for the property.
-
setUsername
public NSXTConnectionInfo.Builder setUsername(java.lang.String username)
Username.- Parameters:
username
- New value for the property.
-
setEnforcementPointAddress
public NSXTConnectionInfo.Builder setEnforcementPointAddress(java.lang.String enforcementPointAddress)
Value of this property could be Hostname or IP. For instance: - On an NSX-T MP running on default port, the value could be \"10.192.1.1\" - On an NSX-T MP running on custom port, the value could be \"192.168.1.1:32789\" - On an NSX-T MP in VMC deployments, the value could be \"192.168.1.1:5480/nsxapi\"- Parameters:
enforcementPointAddress
- New value for the property.
-
build
public NSXTConnectionInfo build()
-
-