Class CccUpgradeInformation.Builder
- java.lang.Object
-
- com.oracle.bmc.computecloudatcustomer.model.CccUpgradeInformation.Builder
-
- Enclosing class:
- CccUpgradeInformation
public static class CccUpgradeInformation.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CccUpgradeInformation
build()
CccUpgradeInformation.Builder
copy(CccUpgradeInformation model)
CccUpgradeInformation.Builder
currentVersion(String currentVersion)
The current version of software installed on the Compute Cloud@Customer infrastructure.CccUpgradeInformation.Builder
isActive(Boolean isActive)
Indication that the Compute Cloud@Customer infrastructure is in the process of an upgrade or an upgrade activity (such as preloading upgrade images).CccUpgradeInformation.Builder
scheduledUpgradeDuration(String scheduledUpgradeDuration)
Expected duration of Compute Cloud@Customer infrastructure scheduled upgrade.CccUpgradeInformation.Builder
timeOfScheduledUpgrade(Date timeOfScheduledUpgrade)
Compute Cloud@Customer infrastructure next upgrade time.
-
-
-
Method Detail
-
currentVersion
public CccUpgradeInformation.Builder currentVersion(String currentVersion)
The current version of software installed on the Compute Cloud@Customer infrastructure.- Parameters:
currentVersion
- the value to set- Returns:
- this builder
-
timeOfScheduledUpgrade
public CccUpgradeInformation.Builder timeOfScheduledUpgrade(Date timeOfScheduledUpgrade)
Compute Cloud@Customer infrastructure next upgrade time.The rack might have performance impacts during this time.
- Parameters:
timeOfScheduledUpgrade
- the value to set- Returns:
- this builder
-
scheduledUpgradeDuration
public CccUpgradeInformation.Builder scheduledUpgradeDuration(String scheduledUpgradeDuration)
Expected duration of Compute Cloud@Customer infrastructure scheduled upgrade.The actual upgrade time might be longer or shorter than this duration depending on rack activity, this is only an estimate.
- Parameters:
scheduledUpgradeDuration
- the value to set- Returns:
- this builder
-
isActive
public CccUpgradeInformation.Builder isActive(Boolean isActive)
Indication that the Compute Cloud@Customer infrastructure is in the process of an upgrade or an upgrade activity (such as preloading upgrade images).- Parameters:
isActive
- the value to set- Returns:
- this builder
-
build
public CccUpgradeInformation build()
-
copy
public CccUpgradeInformation.Builder copy(CccUpgradeInformation model)
-
-