@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getName() != null)
            sb.append("Name: ").append("***Sensitive Data Redacted***").append(",");
        if (getDescription() != null)
            sb.append("Description: ").append("***Sensitive Data Redacted***").append(",");
        if (getGuardrailId() != null)
            sb.append("GuardrailId: ").append(getGuardrailId()).append(",");
        if (getGuardrailArn() != null)
            sb.append("GuardrailArn: ").append(getGuardrailArn()).append(",");
        if (getVersion() != null)
            sb.append("Version: ").append(getVersion()).append(",");
        if (getStatus() != null)
            sb.append("Status: ").append(getStatus()).append(",");
        if (getTopicPolicy() != null)
            sb.append("TopicPolicy: ").append(getTopicPolicy()).append(",");
        if (getContentPolicy() != null)
            sb.append("ContentPolicy: ").append(getContentPolicy()).append(",");
        if (getWordPolicy() != null)
            sb.append("WordPolicy: ").append(getWordPolicy()).append(",");
        if (getSensitiveInformationPolicy() != null)
            sb.append("SensitiveInformationPolicy: ").append(getSensitiveInformationPolicy()).append(",");
        if (getContextualGroundingPolicy() != null)
            sb.append("ContextualGroundingPolicy: ").append(getContextualGroundingPolicy()).append(",");
        if (getCreatedAt() != null)
            sb.append("CreatedAt: ").append(getCreatedAt()).append(",");
        if (getUpdatedAt() != null)
            sb.append("UpdatedAt: ").append(getUpdatedAt()).append(",");
        if (getStatusReasons() != null)
            sb.append("StatusReasons: ").append("***Sensitive Data Redacted***").append(",");
        if (getFailureRecommendations() != null)
            sb.append("FailureRecommendations: ").append("***Sensitive Data Redacted***").append(",");
        if (getBlockedInputMessaging() != null)
            sb.append("BlockedInputMessaging: ").append("***Sensitive Data Redacted***").append(",");
        if (getBlockedOutputsMessaging() != null)
            sb.append("BlockedOutputsMessaging: ").append("***Sensitive Data Redacted***").append(",");
        if (getKmsKeyArn() != null)
            sb.append("KmsKeyArn: ").append(getKmsKeyArn());
        sb.append("}");
        return sb.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.

@return A string representation of this object.

@see java.lang.Object#toString()
aws-java-sdk-bedrock/src/main/java/com/amazonaws/services/bedrock/model/GetGuardrailResult.java