@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 the CloudAutomationUpdateDetails.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 CloudAutomationUpdateDetails.Builder
, which maintain a
set of all explicitly set fields called CloudAutomationUpdateDetails.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 |
CloudAutomationUpdateDetails.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
CloudAutomationUpdateDetails(Boolean isEarlyAdoptionEnabled,
Boolean isFreezePeriodEnabled,
CloudAutomationApplyUpdateTimePreference applyUpdateTimePreference,
CloudAutomationFreezePeriod freezePeriod)
Deprecated.
|
Modifier and Type | Method and 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.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"isEarlyAdoptionEnabled","isFreezePeriodEnabled","applyUpdateTimePreference","freezePeriod"}) public CloudAutomationUpdateDetails(Boolean isEarlyAdoptionEnabled, Boolean isFreezePeriodEnabled, CloudAutomationApplyUpdateTimePreference applyUpdateTimePreference, CloudAutomationFreezePeriod freezePeriod)
public static CloudAutomationUpdateDetails.Builder builder()
Create a new builder.
public CloudAutomationUpdateDetails.Builder toBuilder()
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.
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.
public CloudAutomationApplyUpdateTimePreference getApplyUpdateTimePreference()
public CloudAutomationFreezePeriod getFreezePeriod()
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.