@Generated(value="OracleSDKGenerator", comments="API Version: release") public final class AutoKeyRotationDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The details of auto rotation schedule for the Key being create updated or imported.
Note: Objects should always be created or deserialized using the AutoKeyRotationDetails.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 AutoKeyRotationDetails.Builder
, which maintain a
set of all explicitly set fields called AutoKeyRotationDetails.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 |
AutoKeyRotationDetails.Builder |
static class |
AutoKeyRotationDetails.LastRotationStatus
The status of last execution of auto key rotation.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
AutoKeyRotationDetails(Integer rotationIntervalInDays,
Date timeOfScheduleStart,
Date timeOfNextRotation,
Date timeOfLastRotation,
AutoKeyRotationDetails.LastRotationStatus lastRotationStatus,
String lastRotationMessage)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static AutoKeyRotationDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getLastRotationMessage()
The last execution status message.
|
AutoKeyRotationDetails.LastRotationStatus |
getLastRotationStatus()
The status of last execution of auto key rotation.
|
Integer |
getRotationIntervalInDays()
The interval of auto key rotation.
|
Date |
getTimeOfLastRotation()
A property indicating Last rotation Date Example:
2023-04-04T00:00:00Z . |
Date |
getTimeOfNextRotation()
A property indicating Next estimated scheduled Time, as per the interval, expressed as date
YYYY-MM-DD String.
|
Date |
getTimeOfScheduleStart()
A property indicating scheduled start date expressed as date YYYY-MM-DD String.
|
int |
hashCode() |
AutoKeyRotationDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"rotationIntervalInDays","timeOfScheduleStart","timeOfNextRotation","timeOfLastRotation","lastRotationStatus","lastRotationMessage"}) public AutoKeyRotationDetails(Integer rotationIntervalInDays, Date timeOfScheduleStart, Date timeOfNextRotation, Date timeOfLastRotation, AutoKeyRotationDetails.LastRotationStatus lastRotationStatus, String lastRotationMessage)
public static AutoKeyRotationDetails.Builder builder()
Create a new builder.
public AutoKeyRotationDetails.Builder toBuilder()
public Integer getRotationIntervalInDays()
The interval of auto key rotation. For auto key rotation the interval should between 30 day and 365 days (1 year)
public Date getTimeOfScheduleStart()
A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example:
2023-04-04T00:00:00Z
.
public Date getTimeOfNextRotation()
A property indicating Next estimated scheduled Time, as per the interval, expressed as date
YYYY-MM-DD String. Example: 2023-04-04T00:00:00Z
.
public Date getTimeOfLastRotation()
A property indicating Last rotation Date Example: 2023-04-04T00:00:00Z
.
public AutoKeyRotationDetails.LastRotationStatus getLastRotationStatus()
The status of last execution of auto key rotation.
public String getLastRotationMessage()
The last execution status message.
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.