@Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;

        if (obj instanceof GetGuardrailResult == false)
            return false;
        GetGuardrailResult other = (GetGuardrailResult) obj;
        if (other.getName() == null ^ this.getName() == null)
            return false;
        if (other.getName() != null && other.getName().equals(this.getName()) == false)
            return false;
        if (other.getDescription() == null ^ this.getDescription() == null)
            return false;
        if (other.getDescription() != null && other.getDescription().equals(this.getDescription()) == false)
            return false;
        if (other.getGuardrailId() == null ^ this.getGuardrailId() == null)
            return false;
        if (other.getGuardrailId() != null && other.getGuardrailId().equals(this.getGuardrailId()) == false)
            return false;
        if (other.getGuardrailArn() == null ^ this.getGuardrailArn() == null)
            return false;
        if (other.getGuardrailArn() != null && other.getGuardrailArn().equals(this.getGuardrailArn()) == false)
            return false;
        if (other.getVersion() == null ^ this.getVersion() == null)
            return false;
        if (other.getVersion() != null && other.getVersion().equals(this.getVersion()) == false)
            return false;
        if (other.getStatus() == null ^ this.getStatus() == null)
            return false;
        if (other.getStatus() != null && other.getStatus().equals(this.getStatus()) == false)
            return false;
        if (other.getTopicPolicy() == null ^ this.getTopicPolicy() == null)
            return false;
        if (other.getTopicPolicy() != null && other.getTopicPolicy().equals(this.getTopicPolicy()) == false)
            return false;
        if (other.getContentPolicy() == null ^ this.getContentPolicy() == null)
            return false;
        if (other.getContentPolicy() != null && other.getContentPolicy().equals(this.getContentPolicy()) == false)
            return false;
        if (other.getWordPolicy() == null ^ this.getWordPolicy() == null)
            return false;
        if (other.getWordPolicy() != null && other.getWordPolicy().equals(this.getWordPolicy()) == false)
            return false;
        if (other.getSensitiveInformationPolicy() == null ^ this.getSensitiveInformationPolicy() == null)
            return false;
        if (other.getSensitiveInformationPolicy() != null && other.getSensitiveInformationPolicy().equals(this.getSensitiveInformationPolicy()) == false)
            return false;
        if (other.getContextualGroundingPolicy() == null ^ this.getContextualGroundingPolicy() == null)
            return false;
        if (other.getContextualGroundingPolicy() != null && other.getContextualGroundingPolicy().equals(this.getContextualGroundingPolicy()) == false)
            return false;
        if (other.getCreatedAt() == null ^ this.getCreatedAt() == null)
            return false;
        if (other.getCreatedAt() != null && other.getCreatedAt().equals(this.getCreatedAt()) == false)
            return false;
        if (other.getUpdatedAt() == null ^ this.getUpdatedAt() == null)
            return false;
        if (other.getUpdatedAt() != null && other.getUpdatedAt().equals(this.getUpdatedAt()) == false)
            return false;
        if (other.getStatusReasons() == null ^ this.getStatusReasons() == null)
            return false;
        if (other.getStatusReasons() != null && other.getStatusReasons().equals(this.getStatusReasons()) == false)
            return false;
        if (other.getFailureRecommendations() == null ^ this.getFailureRecommendations() == null)
            return false;
        if (other.getFailureRecommendations() != null && other.getFailureRecommendations().equals(this.getFailureRecommendations()) == false)
            return false;
        if (other.getBlockedInputMessaging() == null ^ this.getBlockedInputMessaging() == null)
            return false;
        if (other.getBlockedInputMessaging() != null && other.getBlockedInputMessaging().equals(this.getBlockedInputMessaging()) == false)
            return false;
        if (other.getBlockedOutputsMessaging() == null ^ this.getBlockedOutputsMessaging() == null)
            return false;
        if (other.getBlockedOutputsMessaging() != null && other.getBlockedOutputsMessaging().equals(this.getBlockedOutputsMessaging()) == false)
            return false;
        if (other.getKmsKeyArn() == null ^ this.getKmsKeyArn() == null)
            return false;
        if (other.getKmsKeyArn() != null && other.getKmsKeyArn().equals(this.getKmsKeyArn()) == false)
            return false;
        return true;
    }
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