Class AutoKeyRotationDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.keymanagement.model.AutoKeyRotationDetails.Builder
 
- 
- Enclosing class:
- AutoKeyRotationDetails
 
 public static class AutoKeyRotationDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description AutoKeyRotationDetailsbuild()AutoKeyRotationDetails.Buildercopy(AutoKeyRotationDetails model)AutoKeyRotationDetails.BuilderlastRotationMessage(String lastRotationMessage)The last execution status message of auto key rotation.AutoKeyRotationDetails.BuilderlastRotationStatus(AutoKeyRotationDetails.LastRotationStatus lastRotationStatus)The status of last execution of auto key rotation.AutoKeyRotationDetails.BuilderrotationIntervalInDays(Integer rotationIntervalInDays)The interval of auto key rotation.AutoKeyRotationDetails.BuildertimeOfLastRotation(Date timeOfLastRotation)A property indicating Last rotation Date.AutoKeyRotationDetails.BuildertimeOfNextRotation(Date timeOfNextRotation)A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String.AutoKeyRotationDetails.BuildertimeOfScheduleStart(Date timeOfScheduleStart)A property indicating scheduled start date expressed as date YYYY-MM-DD String.
 
- 
- 
- 
Method Detail- 
rotationIntervalInDayspublic AutoKeyRotationDetails.Builder rotationIntervalInDays(Integer rotationIntervalInDays) 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. - Parameters:
- rotationIntervalInDays- the value to set
- Returns:
- this builder
 
 - 
timeOfScheduleStartpublic AutoKeyRotationDetails.Builder timeOfScheduleStart(Date timeOfScheduleStart) 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. - Parameters:
- timeOfScheduleStart- the value to set
- Returns:
- this builder
 
 - 
timeOfNextRotationpublic AutoKeyRotationDetails.Builder timeOfNextRotation(Date timeOfNextRotation) 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. - Parameters:
- timeOfNextRotation- the value to set
- Returns:
- this builder
 
 - 
timeOfLastRotationpublic AutoKeyRotationDetails.Builder timeOfLastRotation(Date timeOfLastRotation) A property indicating Last rotation Date.Example: 2023-04-04T00:00:00Z. - Parameters:
- timeOfLastRotation- the value to set
- Returns:
- this builder
 
 - 
lastRotationStatuspublic AutoKeyRotationDetails.Builder lastRotationStatus(AutoKeyRotationDetails.LastRotationStatus lastRotationStatus) The status of last execution of auto key rotation.- Parameters:
- lastRotationStatus- the value to set
- Returns:
- this builder
 
 - 
lastRotationMessagepublic AutoKeyRotationDetails.Builder lastRotationMessage(String lastRotationMessage) The last execution status message of auto key rotation.- Parameters:
- lastRotationMessage- the value to set
- Returns:
- this builder
 
 - 
buildpublic AutoKeyRotationDetails build() 
 - 
copypublic AutoKeyRotationDetails.Builder copy(AutoKeyRotationDetails model) 
 
- 
 
-