Class GetKeyRotationStatusResponse

    • Method Detail

      • keyRotationEnabled

        public final Boolean keyRotationEnabled()

        A Boolean value that specifies whether key rotation is enabled.

        Returns:
        A Boolean value that specifies whether key rotation is enabled.
      • keyId

        public final String keyId()

        Identifies the specified symmetric encryption KMS key.

        Returns:
        Identifies the specified symmetric encryption KMS key.
      • rotationPeriodInDays

        public final Integer rotationPeriodInDays()

        The number of days between each automatic rotation. The default value is 365 days.

        Returns:
        The number of days between each automatic rotation. The default value is 365 days.
      • nextRotationDate

        public final Instant nextRotationDate()

        The next date that KMS will automatically rotate the key material.

        Returns:
        The next date that KMS will automatically rotate the key material.
      • onDemandRotationStartDate

        public final Instant onDemandRotationStartDate()

        Identifies the date and time that an in progress on-demand rotation was initiated.

        The KMS API follows an eventual consistency model due to the distributed nature of the system. As a result, there might be a slight delay between initiating on-demand key rotation and the rotation's completion. Once the on-demand rotation is complete, use ListKeyRotations to view the details of the on-demand rotation.

        Returns:
        Identifies the date and time that an in progress on-demand rotation was initiated.

        The KMS API follows an eventual consistency model due to the distributed nature of the system. As a result, there might be a slight delay between initiating on-demand key rotation and the rotation's completion. Once the on-demand rotation is complete, use ListKeyRotations to view the details of the on-demand rotation.

      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object