Class KmsKeyInfo.Builder

  • Enclosing class:
    KmsKeyInfo

    public static class KmsKeyInfo.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • activeKeyId

        public KmsKeyInfo.Builder activeKeyId​(String activeKeyId)
        current BYOK keyId facp is using
        Parameters:
        activeKeyId - the value to set
        Returns:
        this builder
      • activeKeyVersion

        public KmsKeyInfo.Builder activeKeyVersion​(String activeKeyVersion)
        current key version facp is using
        Parameters:
        activeKeyVersion - the value to set
        Returns:
        this builder
      • scheduledKeyId

        public KmsKeyInfo.Builder scheduledKeyId​(String scheduledKeyId)
        scheduled keyId to be updated
        Parameters:
        scheduledKeyId - the value to set
        Returns:
        this builder
      • scheduledKeyVersion

        public KmsKeyInfo.Builder scheduledKeyVersion​(String scheduledKeyVersion)
        scheduled key version to be updated.
        Parameters:
        scheduledKeyVersion - the value to set
        Returns:
        this builder
      • currentKeyLifecycleState

        public KmsKeyInfo.Builder currentKeyLifecycleState​(String currentKeyLifecycleState)
        current key lifeCycleState
        Parameters:
        currentKeyLifecycleState - the value to set
        Returns:
        this builder
      • scheduledLifecycleState

        public KmsKeyInfo.Builder scheduledLifecycleState​(String scheduledLifecycleState)
        scheduled key lifeCycle state to be updated.
        Parameters:
        scheduledLifecycleState - the value to set
        Returns:
        this builder