public static final class PendingTypes.ListResult.Builder
extends java.lang.Object
PendingTypes.ListResult
.Constructor and Description |
---|
Builder(java.util.Calendar lastCheckTime,
java.util.List<PendingTypes.Summary> updates)
Constructor with parameters for the required properties of
PendingTypes.ListResult . |
Modifier and Type | Method and Description |
---|---|
PendingTypes.ListResult |
build() |
PendingTypes.ListResult.Builder |
setIssues(Notifications issues)
Lists of issues encountered during pending updates retrieval.
|
PendingTypes.ListResult.Builder |
setUpdateCount(java.lang.Long updateCount)
Number of pending updates
Only
Set if there are available updates |
PendingTypes.ListResult.Builder |
setUpgradeCount(java.lang.Long upgradeCount)
Number of pending upgrades
Only
Set if there are available upgrades |
public Builder(java.util.Calendar lastCheckTime, java.util.List<PendingTypes.Summary> updates)
PendingTypes.ListResult
.public PendingTypes.ListResult.Builder setUpdateCount(java.lang.Long updateCount)
Set
if there are available updatesupdateCount
- New value for the property.public PendingTypes.ListResult.Builder setUpgradeCount(java.lang.Long upgradeCount)
Set
if there are available upgradesupgradeCount
- New value for the property.public PendingTypes.ListResult.Builder setIssues(Notifications issues)
Set
if any issues encountered.issues
- New value for the property.public PendingTypes.ListResult build()