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

        if (obj instanceof StorageConfiguration == false)
            return false;
        StorageConfiguration other = (StorageConfiguration) obj;
        if (other.getMongoDbAtlasConfiguration() == null ^ this.getMongoDbAtlasConfiguration() == null)
            return false;
        if (other.getMongoDbAtlasConfiguration() != null && other.getMongoDbAtlasConfiguration().equals(this.getMongoDbAtlasConfiguration()) == false)
            return false;
        if (other.getOpensearchServerlessConfiguration() == null ^ this.getOpensearchServerlessConfiguration() == null)
            return false;
        if (other.getOpensearchServerlessConfiguration() != null
                && other.getOpensearchServerlessConfiguration().equals(this.getOpensearchServerlessConfiguration()) == false)
            return false;
        if (other.getPineconeConfiguration() == null ^ this.getPineconeConfiguration() == null)
            return false;
        if (other.getPineconeConfiguration() != null && other.getPineconeConfiguration().equals(this.getPineconeConfiguration()) == false)
            return false;
        if (other.getRdsConfiguration() == null ^ this.getRdsConfiguration() == null)
            return false;
        if (other.getRdsConfiguration() != null && other.getRdsConfiguration().equals(this.getRdsConfiguration()) == false)
            return false;
        if (other.getRedisEnterpriseCloudConfiguration() == null ^ this.getRedisEnterpriseCloudConfiguration() == null)
            return false;
        if (other.getRedisEnterpriseCloudConfiguration() != null
                && other.getRedisEnterpriseCloudConfiguration().equals(this.getRedisEnterpriseCloudConfiguration()) == false)
            return false;
        if (other.getType() == null ^ this.getType() == null)
            return false;
        if (other.getType() != null && other.getType().equals(this.getType()) == 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-bedrockagent/src/main/java/com/amazonaws/services/bedrockagent/model/StorageConfiguration.java