@Generated(value="OracleSDKGenerator", comments="API Version: 20200407") public final class CreateMaintenanceConfigurationDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Defines the maintenance configuration for create operation.
Note: Objects should always be created or deserialized using the CreateMaintenanceConfigurationDetails.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 CreateMaintenanceConfigurationDetails.Builder
, which maintain a
set of all explicitly set fields called CreateMaintenanceConfigurationDetails.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
).
Modifier and Type | Class and Description |
---|---|
static class |
CreateMaintenanceConfigurationDetails.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
CreateMaintenanceConfigurationDetails(Boolean isInterimReleaseAutoUpgradeEnabled,
Integer interimReleaseUpgradePeriodInDays,
Integer bundleReleaseUpgradePeriodInDays,
Integer majorReleaseUpgradePeriodInDays,
Integer securityPatchUpgradePeriodInDays)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static CreateMaintenanceConfigurationDetails.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() |
CreateMaintenanceConfigurationDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"isInterimReleaseAutoUpgradeEnabled","interimReleaseUpgradePeriodInDays","bundleReleaseUpgradePeriodInDays","majorReleaseUpgradePeriodInDays","securityPatchUpgradePeriodInDays"}) public CreateMaintenanceConfigurationDetails(Boolean isInterimReleaseAutoUpgradeEnabled, Integer interimReleaseUpgradePeriodInDays, Integer bundleReleaseUpgradePeriodInDays, Integer majorReleaseUpgradePeriodInDays, Integer securityPatchUpgradePeriodInDays)
public static CreateMaintenanceConfigurationDetails.Builder builder()
Create a new builder.
public CreateMaintenanceConfigurationDetails.Builder toBuilder()
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.
public Integer getInterimReleaseUpgradePeriodInDays()
Defines auto upgrade period for interim releases. This period must be shorter or equal to bundle release upgrade period.
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.
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.
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.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.