Package com.vmware.nsx.model
Class PostVmGroupMigrationSpec.Builder
- java.lang.Object
-
- com.vmware.nsx.model.PostVmGroupMigrationSpec.Builder
-
- Enclosing class:
- PostVmGroupMigrationSpec
public static final class PostVmGroupMigrationSpec.Builder extends java.lang.ObjectBuilder class forPostVmGroupMigrationSpec.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor with parameters for the required properties ofPostVmGroupMigrationSpec.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PostVmGroupMigrationSpecbuild()PostVmGroupMigrationSpec.BuildersetAllowOverride(java.lang.Boolean allowOverride)Flag to indicate whether to re-run the post migrate steps for the VM group if they are already run before.PostVmGroupMigrationSpec.BuildersetFailedVmInstanceIds(java.util.List<java.lang.String> failedVmInstanceIds)List of instance uuids of VMs that failed to migrate.PostVmGroupMigrationSpec.BuildersetFederationSiteId(java.lang.String federationSiteId)Id of the site in NSX-T FederationPostVmGroupMigrationSpec.BuildersetGroupId(java.lang.String groupId)User defined VM group id that must be unique among all VM groups ids and also should match the group id used in the pre VM group migrate API.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofPostVmGroupMigrationSpec.
-
-
Method Detail
-
setAllowOverride
public PostVmGroupMigrationSpec.Builder setAllowOverride(java.lang.Boolean allowOverride)
Flag to indicate whether to re-run the post migrate steps for the VM group if they are already run before.- Parameters:
allowOverride- New value for the property.
-
setFailedVmInstanceIds
public PostVmGroupMigrationSpec.Builder setFailedVmInstanceIds(java.util.List<java.lang.String> failedVmInstanceIds)
List of instance uuids of VMs that failed to migrate.- Parameters:
failedVmInstanceIds- New value for the property.
-
setFederationSiteId
public PostVmGroupMigrationSpec.Builder setFederationSiteId(java.lang.String federationSiteId)
Id of the site in NSX-T Federation- Parameters:
federationSiteId- New value for the property.
-
setGroupId
public PostVmGroupMigrationSpec.Builder setGroupId(java.lang.String groupId)
User defined VM group id that must be unique among all VM groups ids and also should match the group id used in the pre VM group migrate API.- Parameters:
groupId- New value for the property.
-
build
public PostVmGroupMigrationSpec build()
-
-