Interface ConfigurationDetails.Builder

    • Method Detail

      • configurationStatus

        ConfigurationDetails.Builder configurationStatus​(String configurationStatus)

        The health status of KMS key and KMS access role. If either KMS key or KMS access role is UNHEALTHY, the return value will be UNHEALTHY. To use a customer-managed KMS key, the value of configurationStatus must be HEALTHY.

        Parameters:
        configurationStatus - The health status of KMS key and KMS access role. If either KMS key or KMS access role is UNHEALTHY, the return value will be UNHEALTHY. To use a customer-managed KMS key, the value of configurationStatus must be HEALTHY.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ConfigurationStatus, ConfigurationStatus
      • configurationStatus

        ConfigurationDetails.Builder configurationStatus​(ConfigurationStatus configurationStatus)

        The health status of KMS key and KMS access role. If either KMS key or KMS access role is UNHEALTHY, the return value will be UNHEALTHY. To use a customer-managed KMS key, the value of configurationStatus must be HEALTHY.

        Parameters:
        configurationStatus - The health status of KMS key and KMS access role. If either KMS key or KMS access role is UNHEALTHY, the return value will be UNHEALTHY. To use a customer-managed KMS key, the value of configurationStatus must be HEALTHY.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ConfigurationStatus, ConfigurationStatus
      • errorCode

        ConfigurationDetails.Builder errorCode​(String errorCode)

        The error code that indicates either the KMS key or the KMS access role is UNHEALTHY. Valid values: KMS_KEY_VALIDATION_ERROR and ROLE_VALIDATION_ERROR.

        Parameters:
        errorCode - The error code that indicates either the KMS key or the KMS access role is UNHEALTHY. Valid values: KMS_KEY_VALIDATION_ERROR and ROLE_VALIDATION_ERROR.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • errorMessage

        ConfigurationDetails.Builder errorMessage​(String errorMessage)

        The detailed error message that corresponds to the errorCode.

        Parameters:
        errorMessage - The detailed error message that corresponds to the errorCode.
        Returns:
        Returns a reference to this object so that method calls can be chained together.