Class MaintenanceConfiguration
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.goldengate.model.MaintenanceConfiguration
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200407") public final class MaintenanceConfiguration extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelAttributes for configuring automatic deployment maintenance.
Note: Objects should always be created or deserialized using theMaintenanceConfiguration.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theMaintenanceConfiguration.Builder, which maintain a set of all explicitly set fields calledMaintenanceConfiguration.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMaintenanceConfiguration.Builder
-
Constructor Summary
Constructors Constructor Description MaintenanceConfiguration(Boolean isInterimReleaseAutoUpgradeEnabled, Integer interimReleaseUpgradePeriodInDays, Integer bundleReleaseUpgradePeriodInDays, Integer majorReleaseUpgradePeriodInDays, Integer securityPatchUpgradePeriodInDays)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MaintenanceConfiguration.Builderbuilder()Create a new builder.booleanequals(Object o)IntegergetBundleReleaseUpgradePeriodInDays()Defines auto upgrade period for bundle releases.IntegergetInterimReleaseUpgradePeriodInDays()Defines auto upgrade period for interim releases.BooleangetIsInterimReleaseAutoUpgradeEnabled()By default auto upgrade for interim releases are not enabled.IntegergetMajorReleaseUpgradePeriodInDays()Defines auto upgrade period for major releases.IntegergetSecurityPatchUpgradePeriodInDays()Defines auto upgrade period for releases with security fix.inthashCode()MaintenanceConfiguration.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
MaintenanceConfiguration
@Deprecated @ConstructorProperties({"isInterimReleaseAutoUpgradeEnabled","interimReleaseUpgradePeriodInDays","bundleReleaseUpgradePeriodInDays","majorReleaseUpgradePeriodInDays","securityPatchUpgradePeriodInDays"}) public MaintenanceConfiguration(Boolean isInterimReleaseAutoUpgradeEnabled, Integer interimReleaseUpgradePeriodInDays, Integer bundleReleaseUpgradePeriodInDays, Integer majorReleaseUpgradePeriodInDays, Integer securityPatchUpgradePeriodInDays)
Deprecated.
-
-
Method Detail
-
builder
public static MaintenanceConfiguration.Builder builder()
Create a new builder.
-
toBuilder
public MaintenanceConfiguration.Builder toBuilder()
-
getIsInterimReleaseAutoUpgradeEnabled
public Boolean getIsInterimReleaseAutoUpgradeEnabled()
By default auto upgrade for interim releases are not enabled.If auto-upgrade is enabled for interim release, you have to specify interimReleaseUpgradePeriodInDays too.
- Returns:
- the value
-
getInterimReleaseUpgradePeriodInDays
public Integer getInterimReleaseUpgradePeriodInDays()
Defines auto upgrade period for interim releases.This period must be shorter or equal to bundle release upgrade period.
- Returns:
- the value
-
getBundleReleaseUpgradePeriodInDays
public Integer getBundleReleaseUpgradePeriodInDays()
Defines auto upgrade period for bundle releases.Manually configured period cannot be longer than service defined period for bundle releases. This period must be shorter or equal to major release upgrade period. Not passing this field during create will equate to using the service default.
- Returns:
- the value
-
getMajorReleaseUpgradePeriodInDays
public Integer getMajorReleaseUpgradePeriodInDays()
Defines auto upgrade period for major releases.Manually configured period cannot be longer than service defined period for major releases. Not passing this field during create will equate to using the service default.
- Returns:
- the value
-
getSecurityPatchUpgradePeriodInDays
public Integer getSecurityPatchUpgradePeriodInDays()
Defines auto upgrade period for releases with security fix.Manually configured period cannot be longer than service defined period for security releases. Not passing this field during create will equate to using the service default.
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-