Class AutoKeyRotationDetails


  • @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).
    • Method Detail

      • getRotationIntervalInDays

        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.

        Returns:
        the value
      • getTimeOfScheduleStart

        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\u2019s date will be used if not specified by customer.

        Returns:
        the value
      • getTimeOfNextRotation

        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.

        Returns:
        the value
      • getTimeOfLastRotation

        public Date getTimeOfLastRotation()
        A property indicating Last rotation Date.

        Example: 2023-04-04T00:00:00Z.

        Returns:
        the value
      • getLastRotationMessage

        public String getLastRotationMessage()
        The last execution status message of auto key rotation.
        Returns:
        the value
      • toString

        public String toString()
        Overrides:
        toString in class com.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 class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel