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

        if (obj instanceof S3DataAccessAsset == false)
            return false;
        S3DataAccessAsset other = (S3DataAccessAsset) obj;
        if (other.getBucket() == null ^ this.getBucket() == null)
            return false;
        if (other.getBucket() != null && other.getBucket().equals(this.getBucket()) == false)
            return false;
        if (other.getKeyPrefixes() == null ^ this.getKeyPrefixes() == null)
            return false;
        if (other.getKeyPrefixes() != null && other.getKeyPrefixes().equals(this.getKeyPrefixes()) == false)
            return false;
        if (other.getKeys() == null ^ this.getKeys() == null)
            return false;
        if (other.getKeys() != null && other.getKeys().equals(this.getKeys()) == false)
            return false;
        if (other.getS3AccessPointAlias() == null ^ this.getS3AccessPointAlias() == null)
            return false;
        if (other.getS3AccessPointAlias() != null && other.getS3AccessPointAlias().equals(this.getS3AccessPointAlias()) == false)
            return false;
        if (other.getS3AccessPointArn() == null ^ this.getS3AccessPointArn() == null)
            return false;
        if (other.getS3AccessPointArn() != null && other.getS3AccessPointArn().equals(this.getS3AccessPointArn()) == false)
            return false;
        if (other.getKmsKeysToGrant() == null ^ this.getKmsKeysToGrant() == null)
            return false;
        if (other.getKmsKeysToGrant() != null && other.getKmsKeysToGrant().equals(this.getKmsKeysToGrant()) == 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-dataexchange/src/main/java/com/amazonaws/services/dataexchange/model/S3DataAccessAsset.java