Class AutoKeyRotationDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • rotationIntervalInDays

        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.

        Parameters:
        rotationIntervalInDays - the value to set
        Returns:
        this builder
      • timeOfScheduleStart

        public 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
      • timeOfNextRotation

        public 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
      • timeOfLastRotation

        public 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
      • lastRotationMessage

        public AutoKeyRotationDetails.Builder lastRotationMessage​(String lastRotationMessage)
        The last execution status message of auto key rotation.
        Parameters:
        lastRotationMessage - the value to set
        Returns:
        this builder