Class AutoKeyRotationDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.keymanagement.model.AutoKeyRotationDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: release") public final class AutoKeyRotationDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelThe details of auto rotation schedule for the Key being create updated or imported.
Note: Objects should always be created or deserialized using theAutoKeyRotationDetails.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 theAutoKeyRotationDetails.Builder, which maintain a set of all explicitly set fields calledAutoKeyRotationDetails.Builder.__explicitlySet__. ThehashCode()andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAutoKeyRotationDetails.Builderstatic classAutoKeyRotationDetails.LastRotationStatusThe status of last execution of auto key rotation.
-
Constructor Summary
Constructors Constructor Description AutoKeyRotationDetails(Integer rotationIntervalInDays, Date timeOfScheduleStart, Date timeOfNextRotation, Date timeOfLastRotation, AutoKeyRotationDetails.LastRotationStatus lastRotationStatus, String lastRotationMessage)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AutoKeyRotationDetails.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetLastRotationMessage()The last execution status message of auto key rotation.AutoKeyRotationDetails.LastRotationStatusgetLastRotationStatus()The status of last execution of auto key rotation.IntegergetRotationIntervalInDays()The interval of auto key rotation.DategetTimeOfLastRotation()A property indicating Last rotation Date.DategetTimeOfNextRotation()A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String.DategetTimeOfScheduleStart()A property indicating scheduled start date expressed as date YYYY-MM-DD String.inthashCode()AutoKeyRotationDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
AutoKeyRotationDetails
@Deprecated @ConstructorProperties({"rotationIntervalInDays","timeOfScheduleStart","timeOfNextRotation","timeOfLastRotation","lastRotationStatus","lastRotationMessage"}) public AutoKeyRotationDetails(Integer rotationIntervalInDays, Date timeOfScheduleStart, Date timeOfNextRotation, Date timeOfLastRotation, AutoKeyRotationDetails.LastRotationStatus lastRotationStatus, String lastRotationMessage)
Deprecated.
-
-
Method Detail
-
builder
public static AutoKeyRotationDetails.Builder builder()
Create a new builder.
-
toBuilder
public AutoKeyRotationDetails.Builder toBuilder()
-
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
-
getLastRotationStatus
public AutoKeyRotationDetails.LastRotationStatus getLastRotationStatus()
The status of last execution of auto key rotation.- Returns:
- the value
-
getLastRotationMessage
public String getLastRotationMessage()
The last execution status message of auto key rotation.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classcom.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:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-