Class RotationConfig.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • rotationInterval

        public RotationConfig.Builder rotationInterval​(String rotationInterval)
        The time interval that indicates the frequency for rotating secret data, as described in ISO 8601 format.

        The minimum value is 1 day and maximum value is 360 days. For example, if you want to set the time interval for rotating a secret data as 30 days, the duration is expressed as “P30D.”

        Parameters:
        rotationInterval - the value to set
        Returns:
        this builder
      • isScheduledRotationEnabled

        public RotationConfig.Builder isScheduledRotationEnabled​(Boolean isScheduledRotationEnabled)
        Enables auto rotation, when set to true rotationInterval must be set.
        Parameters:
        isScheduledRotationEnabled - the value to set
        Returns:
        this builder