public static class AutoKeyRotationDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AutoKeyRotationDetails |
build() |
AutoKeyRotationDetails.Builder |
copy(AutoKeyRotationDetails model) |
AutoKeyRotationDetails.Builder |
lastRotationMessage(String lastRotationMessage)
The last execution status message of auto key rotation.
|
AutoKeyRotationDetails.Builder |
lastRotationStatus(AutoKeyRotationDetails.LastRotationStatus lastRotationStatus)
The status of last execution of auto key rotation.
|
AutoKeyRotationDetails.Builder |
rotationIntervalInDays(Integer rotationIntervalInDays)
The interval of auto key rotation.
|
AutoKeyRotationDetails.Builder |
timeOfLastRotation(Date timeOfLastRotation)
A property indicating Last rotation Date.
|
AutoKeyRotationDetails.Builder |
timeOfNextRotation(Date timeOfNextRotation)
A property indicating Next estimated scheduled Time, as per the interval, expressed as
date YYYY-MM-DD String.
|
AutoKeyRotationDetails.Builder |
timeOfScheduleStart(Date timeOfScheduleStart)
A property indicating scheduled start date expressed as date YYYY-MM-DD String.
|
public 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.
rotationIntervalInDays
- the value to setpublic 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’s date will be used if not specified by customer.
timeOfScheduleStart
- the value to setpublic 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.
timeOfNextRotation
- the value to setpublic AutoKeyRotationDetails.Builder timeOfLastRotation(Date timeOfLastRotation)
A property indicating Last rotation Date. Example: 2023-04-04T00:00:00Z
.
timeOfLastRotation
- the value to setpublic AutoKeyRotationDetails.Builder lastRotationStatus(AutoKeyRotationDetails.LastRotationStatus lastRotationStatus)
The status of last execution of auto key rotation.
lastRotationStatus
- the value to setpublic AutoKeyRotationDetails.Builder lastRotationMessage(String lastRotationMessage)
The last execution status message of auto key rotation.
lastRotationMessage
- the value to setpublic AutoKeyRotationDetails build()
public AutoKeyRotationDetails.Builder copy(AutoKeyRotationDetails model)
Copyright © 2016–2024. All rights reserved.