@Generated(value="OracleSDKGenerator", comments="API Version: 20190101") public final class RetentionOperationDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Retention operation details for the model.
Note: Objects should always be created or deserialized using the RetentionOperationDetails.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 RetentionOperationDetails.Builder
, which maintain a
set of all explicitly set fields called RetentionOperationDetails.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 |
RetentionOperationDetails.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
RetentionOperationDetails(ModelSettingActionState archiveState,
String archiveStateDetails,
Date timeArchivalScheduled,
ModelSettingActionState deleteState,
String deleteStateDetails,
Date timeDeletionScheduled)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static RetentionOperationDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
ModelSettingActionState |
getArchiveState()
The archival status of model.
|
String |
getArchiveStateDetails()
The archival state details of the model.
|
ModelSettingActionState |
getDeleteState()
The deletion status of the archived model.
|
String |
getDeleteStateDetails()
The deletion status details of the archived model.
|
Date |
getTimeArchivalScheduled()
The estimated archival time of the model based on the provided retention setting.
|
Date |
getTimeDeletionScheduled()
The estimated deletion time of the model based on the provided retention setting.
|
int |
hashCode() |
RetentionOperationDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"archiveState","archiveStateDetails","timeArchivalScheduled","deleteState","deleteStateDetails","timeDeletionScheduled"}) public RetentionOperationDetails(ModelSettingActionState archiveState, String archiveStateDetails, Date timeArchivalScheduled, ModelSettingActionState deleteState, String deleteStateDetails, Date timeDeletionScheduled)
public static RetentionOperationDetails.Builder builder()
Create a new builder.
public RetentionOperationDetails.Builder toBuilder()
public ModelSettingActionState getArchiveState()
The archival status of model.
public String getArchiveStateDetails()
The archival state details of the model.
public Date getTimeArchivalScheduled()
The estimated archival time of the model based on the provided retention setting.
public ModelSettingActionState getDeleteState()
The deletion status of the archived model.
public String getDeleteStateDetails()
The deletion status details of the archived model.
public Date getTimeDeletionScheduled()
The estimated deletion time of the model based on the provided retention setting.
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.