public static final class MigrationUnitAggregateInfo.Builder
extends java.lang.Object
MigrationUnitAggregateInfo
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
MigrationUnitAggregateInfo . |
Modifier and Type | Method and Description |
---|---|
MigrationUnitAggregateInfo |
build() |
MigrationUnitAggregateInfo.Builder |
setErrors(java.util.List<java.lang.String> errors)
List of errors occurred during migration of this migration unit
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
MigrationUnitAggregateInfo.Builder |
setLinks(java.util.List<ResourceLink> links)
The server will populate this field when returing the resource.
|
MigrationUnitAggregateInfo.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.
|
MigrationUnitAggregateInfo.Builder |
setSchema(java.lang.String schema)
Schema for this resource
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
MigrationUnitAggregateInfo.Builder |
setSelf(SelfResourceLink self) |
MigrationUnitAggregateInfo.Builder |
setStatus(java.lang.String status)
Possible values are:
MigrationUnitAggregateInfo.STATUS_SUCCESS MigrationUnitAggregateInfo.STATUS_FAILED MigrationUnitAggregateInfo.STATUS_IN_PROGRESS
MigrationUnitAggregateInfo.STATUS_NOT_STARTED
MigrationUnitAggregateInfo.STATUS_PAUSING
MigrationUnitAggregateInfo.STATUS_PAUSED
Status of migration unit
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored. |
MigrationUnitAggregateInfo.Builder |
setUnit(MigrationUnit unit) |
public Builder()
MigrationUnitAggregateInfo
.public MigrationUnitAggregateInfo.Builder setLinks(java.util.List<ResourceLink> links)
links
- New value for the property.public MigrationUnitAggregateInfo.Builder setSchema(java.lang.String schema)
schema
- New value for the property.public MigrationUnitAggregateInfo.Builder setSelf(SelfResourceLink self)
self
- New value for the property.public MigrationUnitAggregateInfo.Builder setErrors(java.util.List<java.lang.String> errors)
errors
- New value for the property.public MigrationUnitAggregateInfo.Builder setPercentComplete(java.lang.Double percentComplete)
percentComplete
- New value for the property.public MigrationUnitAggregateInfo.Builder setStatus(java.lang.String status)
status
- New value for the property.public MigrationUnitAggregateInfo.Builder setUnit(MigrationUnit unit)
unit
- New value for the property.public MigrationUnitAggregateInfo build()