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.ExplicitlySetBmcModel
Attributes 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 class
MaintenanceConfiguration.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.Builder
builder()
Create a new builder.boolean
equals(Object o)
Integer
getBundleReleaseUpgradePeriodInDays()
Defines auto upgrade period for bundle releases.Integer
getInterimReleaseUpgradePeriodInDays()
Defines auto upgrade period for interim releases.Boolean
getIsInterimReleaseAutoUpgradeEnabled()
By default auto upgrade for interim releases are not enabled.Integer
getMajorReleaseUpgradePeriodInDays()
Defines auto upgrade period for major releases.Integer
getSecurityPatchUpgradePeriodInDays()
Defines auto upgrade period for releases with security fix.int
hashCode()
MaintenanceConfiguration.Builder
toBuilder()
String
toString()
String
toString(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:
toString
in 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:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-