Class EncryptionConfigurationDetails

    • Method Detail

      • keyType

        public final KmsKeyType keyType()

        The type of KMS key used for encryption.

        If the service returns an enum value that is not available in the current SDK version, keyType will return KmsKeyType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from keyTypeAsString().

        Returns:
        The type of KMS key used for encryption.
        See Also:
        KmsKeyType
      • keyTypeAsString

        public final String keyTypeAsString()

        The type of KMS key used for encryption.

        If the service returns an enum value that is not available in the current SDK version, keyType will return KmsKeyType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from keyTypeAsString().

        Returns:
        The type of KMS key used for encryption.
        See Also:
        KmsKeyType
      • kmsKeyArn

        public final String kmsKeyArn()

        The ARN of the KMS key currently used to encrypt data in your IAM Identity Center instance.

        Returns:
        The ARN of the KMS key currently used to encrypt data in your IAM Identity Center instance.
      • encryptionStatus

        public final KmsKeyStatus encryptionStatus()

        The current status of encryption configuration.

        If the service returns an enum value that is not available in the current SDK version, encryptionStatus will return KmsKeyStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from encryptionStatusAsString().

        Returns:
        The current status of encryption configuration.
        See Also:
        KmsKeyStatus
      • encryptionStatusAsString

        public final String encryptionStatusAsString()

        The current status of encryption configuration.

        If the service returns an enum value that is not available in the current SDK version, encryptionStatus will return KmsKeyStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from encryptionStatusAsString().

        Returns:
        The current status of encryption configuration.
        See Also:
        KmsKeyStatus
      • encryptionStatusReason

        public final String encryptionStatusReason()

        Provides additional context about the current encryption status. This field is particularly useful when the encryption status is UPDATE_FAILED. When encryption configuration update fails, this field contains information about the cause, which may include KMS key access issues, key not found errors, invalid key configuration, key in an invalid state, or a disabled key.

        Returns:
        Provides additional context about the current encryption status. This field is particularly useful when the encryption status is UPDATE_FAILED. When encryption configuration update fails, this field contains information about the cause, which may include KMS key access issues, key not found errors, invalid key configuration, key in an invalid state, or a disabled key.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)