Class CloudAutomationUpdateDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.database.model.CloudAutomationUpdateDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class CloudAutomationUpdateDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Specifies the properties necessary for cloud automation updates.This includes modifying the apply update time preference, enabling or disabling early adoption, and enabling, modifying, or disabling the update freeze period.
Note: Objects should always be created or deserialized using theCloudAutomationUpdateDetails.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 theCloudAutomationUpdateDetails.Builder
, which maintain a set of all explicitly set fields calledCloudAutomationUpdateDetails.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
CloudAutomationUpdateDetails.Builder
-
Constructor Summary
Constructors Constructor Description CloudAutomationUpdateDetails(Boolean isEarlyAdoptionEnabled, Boolean isFreezePeriodEnabled, CloudAutomationApplyUpdateTimePreference applyUpdateTimePreference, CloudAutomationFreezePeriod freezePeriod)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CloudAutomationUpdateDetails.Builder
builder()
Create a new builder.boolean
equals(Object o)
CloudAutomationApplyUpdateTimePreference
getApplyUpdateTimePreference()
CloudAutomationFreezePeriod
getFreezePeriod()
Boolean
getIsEarlyAdoptionEnabled()
Annotates whether the cluster should be part of early access to apply VM cloud automation software updates.Boolean
getIsFreezePeriodEnabled()
Specifies if the freeze period is enabled for the VM cluster to prevent the VMs from receiving cloud automation software updates during critical business cycles.int
hashCode()
CloudAutomationUpdateDetails.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
CloudAutomationUpdateDetails
@Deprecated @ConstructorProperties({"isEarlyAdoptionEnabled","isFreezePeriodEnabled","applyUpdateTimePreference","freezePeriod"}) public CloudAutomationUpdateDetails(Boolean isEarlyAdoptionEnabled, Boolean isFreezePeriodEnabled, CloudAutomationApplyUpdateTimePreference applyUpdateTimePreference, CloudAutomationFreezePeriod freezePeriod)
Deprecated.
-
-
Method Detail
-
builder
public static CloudAutomationUpdateDetails.Builder builder()
Create a new builder.
-
toBuilder
public CloudAutomationUpdateDetails.Builder toBuilder()
-
getIsEarlyAdoptionEnabled
public Boolean getIsEarlyAdoptionEnabled()
Annotates whether the cluster should be part of early access to apply VM cloud automation software updates.Those clusters annotated as early access will download the software bits for cloud automation in the first week after the update is available, while other clusters will have to wait until the following week.
- Returns:
- the value
-
getIsFreezePeriodEnabled
public Boolean getIsFreezePeriodEnabled()
Specifies if the freeze period is enabled for the VM cluster to prevent the VMs from receiving cloud automation software updates during critical business cycles.Freeze period starts at 12:00 AM UTC and ends at 11:59:59 PM UTC on the selected date. Ensure that the freezing period does not exceed 45 days.
- Returns:
- the value
-
getApplyUpdateTimePreference
public CloudAutomationApplyUpdateTimePreference getApplyUpdateTimePreference()
-
getFreezePeriod
public CloudAutomationFreezePeriod getFreezePeriod()
-
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
-
-