Package com.oracle.bmc.fusionapps.model
Class FamilyMaintenancePolicy.Builder
- java.lang.Object
-
- com.oracle.bmc.fusionapps.model.FamilyMaintenancePolicy.Builder
-
- Enclosing class:
- FamilyMaintenancePolicy
public static class FamilyMaintenancePolicy.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FamilyMaintenancePolicybuild()FamilyMaintenancePolicy.BuilderconcurrentMaintenance(FamilyMaintenancePolicy.ConcurrentMaintenance concurrentMaintenance)Option to upgrade both production and non-production environments at the same time.FamilyMaintenancePolicy.Buildercopy(FamilyMaintenancePolicy model)FamilyMaintenancePolicy.BuilderisMonthlyPatchingEnabled(Boolean isMonthlyPatchingEnabled)When True, monthly patching is enabled for the environment family.FamilyMaintenancePolicy.BuilderquarterlyUpgradeBeginTimes(String quarterlyUpgradeBeginTimes)The quarterly maintenance month group schedule of the Fusion environment family.
-
-
-
Method Detail
-
quarterlyUpgradeBeginTimes
public FamilyMaintenancePolicy.Builder quarterlyUpgradeBeginTimes(String quarterlyUpgradeBeginTimes)
The quarterly maintenance month group schedule of the Fusion environment family.- Parameters:
quarterlyUpgradeBeginTimes- the value to set- Returns:
- this builder
-
isMonthlyPatchingEnabled
public FamilyMaintenancePolicy.Builder isMonthlyPatchingEnabled(Boolean isMonthlyPatchingEnabled)
When True, monthly patching is enabled for the environment family.- Parameters:
isMonthlyPatchingEnabled- the value to set- Returns:
- this builder
-
concurrentMaintenance
public FamilyMaintenancePolicy.Builder concurrentMaintenance(FamilyMaintenancePolicy.ConcurrentMaintenance concurrentMaintenance)
Option to upgrade both production and non-production environments at the same time.When set to PROD both types of environnments are upgraded on the production schedule. When set to NON_PROD both types of environments are upgraded on the non-production schedule.
- Parameters:
concurrentMaintenance- the value to set- Returns:
- this builder
-
build
public FamilyMaintenancePolicy build()
-
copy
public FamilyMaintenancePolicy.Builder copy(FamilyMaintenancePolicy model)
-
-