Package com.vmware.nsx_policy.model
Class MpsSvmProperties.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.MpsSvmProperties.Builder
-
- Enclosing class:
- MpsSvmProperties
public static final class MpsSvmProperties.Builder extends java.lang.Object
Builder class forMpsSvmProperties
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofMpsSvmProperties
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MpsSvmProperties
build()
MpsSvmProperties.Builder
setIpAllocationType(java.lang.String ipAllocationType)
Possible values are:MpsSvmProperties.IP_ALLOCATION_TYPE_STATIC
MpsSvmProperties.IP_ALLOCATION_TYPE_DHCP
IP allocation type with values STATIC or DHCP.MpsSvmProperties.Builder
setIpPoolId(java.lang.String ipPoolId)
If the nic is supposed to get IP using a static IP pool then IP Pool id should be provided here.MpsSvmProperties.Builder
setNetworkId(java.lang.String networkId)
Network Id to be attached to the Management NIC of the SVM.MpsSvmProperties.Builder
setStorageId(java.lang.String storageId)
Moref of the datastore in VC.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofMpsSvmProperties
.
-
-
Method Detail
-
setIpAllocationType
public MpsSvmProperties.Builder setIpAllocationType(java.lang.String ipAllocationType)
Possible values are: IP allocation type with values STATIC or DHCP.- Parameters:
ipAllocationType
- New value for the property.
-
setIpPoolId
public MpsSvmProperties.Builder setIpPoolId(java.lang.String ipPoolId)
If the nic is supposed to get IP using a static IP pool then IP Pool id should be provided here.- Parameters:
ipPoolId
- New value for the property.
-
setNetworkId
public MpsSvmProperties.Builder setNetworkId(java.lang.String networkId)
Network Id to be attached to the Management NIC of the SVM. It can be a moref of a portgroup/ logical switch ID that allows the Malware Prevention VM to access the NSX Manager and the NApp deployment to receive configuration and raise malware detection events. If the portgroup/ logical switch ID is specified in 'Agent VM Settings' through the vSphere UI then this field should be empty.- Parameters:
networkId
- New value for the property.
-
setStorageId
public MpsSvmProperties.Builder setStorageId(java.lang.String storageId)
Moref of the datastore in VC. If the datastore used for the Malware Prevention VM on host is specified in 'Agent VM Settings' through the vSphere UI then this field should be empty\".- Parameters:
storageId
- New value for the property.
-
build
public MpsSvmProperties build()
-
-