public static final class ComponentMigrationStatus.Builder
extends java.lang.Object
ComponentMigrationStatus
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
ComponentMigrationStatus . |
Modifier and Type | Method and Description |
---|---|
ComponentMigrationStatus |
build() |
ComponentMigrationStatus.Builder |
setCanSkip(java.lang.Boolean canSkip)
Can the migration of the remaining units in this component be skipped
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
ComponentMigrationStatus.Builder |
setComponentType(java.lang.String componentType)
Component type for the migration status
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
ComponentMigrationStatus.Builder |
setDetails(java.lang.String details)
Details about the migration status
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
ComponentMigrationStatus.Builder |
setPercentComplete(java.lang.Double percentComplete)
Indicator of migration progress in percentage
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
ComponentMigrationStatus.Builder |
setStatus(java.lang.String status)
Possible values are:
ComponentMigrationStatus.STATUS_SUCCESS ComponentMigrationStatus.STATUS_FAILED ComponentMigrationStatus.STATUS_IN_PROGRESS
ComponentMigrationStatus.STATUS_NOT_STARTED
ComponentMigrationStatus.STATUS_PAUSING
ComponentMigrationStatus.STATUS_PAUSED
Migration status of component
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()
ComponentMigrationStatus
.public ComponentMigrationStatus.Builder setCanSkip(java.lang.Boolean canSkip)
canSkip
- New value for the property.public ComponentMigrationStatus.Builder setComponentType(java.lang.String componentType)
componentType
- New value for the property.public ComponentMigrationStatus.Builder setDetails(java.lang.String details)
details
- New value for the property.public ComponentMigrationStatus.Builder setPercentComplete(java.lang.Double percentComplete)
percentComplete
- New value for the property.public ComponentMigrationStatus.Builder setStatus(java.lang.String status)
status
- New value for the property.public ComponentMigrationStatus build()