public static final class MigrationSummary.Builder
extends java.lang.Object
MigrationSummary
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
MigrationSummary . |
Modifier and Type | Method and Description |
---|---|
MigrationSummary |
build() |
MigrationSummary.Builder |
setComponentTargetVersions(java.util.List<ComponentTargetVersion> componentTargetVersions) |
MigrationSummary.Builder |
setMigrationCoordinatorVersion(java.lang.String migrationCoordinatorVersion)
Current version of migration coordinator
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
MigrationSummary.Builder |
setMigrationStatus(java.lang.String migrationStatus)
Possible values are:
MigrationSummary.MIGRATION_STATUS_SUCCESS MigrationSummary.MIGRATION_STATUS_FAILED MigrationSummary.MIGRATION_STATUS_IN_PROGRESS
MigrationSummary.MIGRATION_STATUS_NOT_STARTED
MigrationSummary.MIGRATION_STATUS_PAUSING
MigrationSummary.MIGRATION_STATUS_PAUSED
Status of migration
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored. |
MigrationSummary.Builder |
setSystemVersion(java.lang.String systemVersion)
Current system version
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
MigrationSummary.Builder |
setTargetVersion(java.lang.String targetVersion)
Target system version
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
public Builder()
MigrationSummary
.public MigrationSummary.Builder setComponentTargetVersions(java.util.List<ComponentTargetVersion> componentTargetVersions)
componentTargetVersions
- New value for the property.public MigrationSummary.Builder setMigrationCoordinatorVersion(java.lang.String migrationCoordinatorVersion)
migrationCoordinatorVersion
- New value for the property.public MigrationSummary.Builder setMigrationStatus(java.lang.String migrationStatus)
migrationStatus
- New value for the property.public MigrationSummary.Builder setSystemVersion(java.lang.String systemVersion)
systemVersion
- New value for the property.public MigrationSummary.Builder setTargetVersion(java.lang.String targetVersion)
targetVersion
- New value for the property.public MigrationSummary build()