public static final class PendingTypes.PrecheckResult.Builder
extends java.lang.Object
PendingTypes.PrecheckResult
.Constructor and Description |
---|
PendingTypes.PrecheckResult.Builder(java.util.Calendar checkTime,
boolean rebootRequired,
java.util.List<PendingTypes.Question> questions)
Constructor with parameters for the required properties of
PendingTypes.PrecheckResult . |
Modifier and Type | Method and Description |
---|---|
PendingTypes.PrecheckResult |
build() |
PendingTypes.PrecheckResult.Builder |
setEstimatedTimeToInstall(java.lang.Long estimatedTimeToInstall)
Rough estimate of time to install the update (minutes).
|
PendingTypes.PrecheckResult.Builder |
setEstimatedTimeToRollback(java.lang.Long estimatedTimeToRollback)
Rough estimate of time to rollback the update (minutes).
|
PendingTypes.PrecheckResult.Builder |
setIssues(Notifications issues)
Lists of the issues and warnings.
|
public PendingTypes.PrecheckResult.Builder(java.util.Calendar checkTime, boolean rebootRequired, java.util.List<PendingTypes.Question> questions)
PendingTypes.PrecheckResult
.public PendingTypes.PrecheckResult.Builder setEstimatedTimeToInstall(java.lang.Long estimatedTimeToInstall)
null
N/AestimatedTimeToInstall
- New value for the property.public PendingTypes.PrecheckResult.Builder setEstimatedTimeToRollback(java.lang.Long estimatedTimeToRollback)
null
N/AestimatedTimeToRollback
- New value for the property.public PendingTypes.PrecheckResult.Builder setIssues(Notifications issues)
null
N/Aissues
- New value for the property.public PendingTypes.PrecheckResult build()