Class 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 the MaintenanceConfiguration.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 the MaintenanceConfiguration.Builder, which maintain a set of all explicitly set fields called MaintenanceConfiguration.Builder.__explicitlySet__. The hashCode() and equals(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).
    • 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

      • 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 class com.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 class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel