@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 of auto key rotation.
|
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.
|
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 60 day and 365 days (1 year). Note: User must specify this parameter when creating a new schedule.
public Date getTimeOfScheduleStart()
A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: 2023-04-04T00:00:00Z. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z . Note : Today’s date will be used if not specified by customer.
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
. The time has no significance when
scheduling an auto key rotation as this can be done anytime approximately the scheduled day,
KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be
used as 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 of auto key rotation.
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.