public static final class PostVmGroupMigrationSpec.Builder
extends java.lang.Object
PostVmGroupMigrationSpec
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
PostVmGroupMigrationSpec . |
Modifier and Type | Method and Description |
---|---|
PostVmGroupMigrationSpec |
build() |
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.
|
PostVmGroupMigrationSpec.Builder |
setFailedVmInstanceIds(java.util.List<java.lang.String> failedVmInstanceIds)
List of instance uuids of VMs that failed to migrate.
|
PostVmGroupMigrationSpec.Builder |
setFederationSiteId(java.lang.String federationSiteId)
Id of the site in NSX-T Federation
|
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.
|
public Builder()
PostVmGroupMigrationSpec
.public PostVmGroupMigrationSpec.Builder setAllowOverride(java.lang.Boolean allowOverride)
allowOverride
- New value for the property.public PostVmGroupMigrationSpec.Builder setFailedVmInstanceIds(java.util.List<java.lang.String> failedVmInstanceIds)
failedVmInstanceIds
- New value for the property.public PostVmGroupMigrationSpec.Builder setFederationSiteId(java.lang.String federationSiteId)
federationSiteId
- New value for the property.public PostVmGroupMigrationSpec.Builder setGroupId(java.lang.String groupId)
groupId
- New value for the property.public PostVmGroupMigrationSpec build()