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

        if (obj instanceof DeliveryDestination == false)
            return false;
        DeliveryDestination other = (DeliveryDestination) obj;
        if (other.getName() == null ^ this.getName() == null)
            return false;
        if (other.getName() != null && other.getName().equals(this.getName()) == false)
            return false;
        if (other.getArn() == null ^ this.getArn() == null)
            return false;
        if (other.getArn() != null && other.getArn().equals(this.getArn()) == false)
            return false;
        if (other.getDeliveryDestinationType() == null ^ this.getDeliveryDestinationType() == null)
            return false;
        if (other.getDeliveryDestinationType() != null && other.getDeliveryDestinationType().equals(this.getDeliveryDestinationType()) == false)
            return false;
        if (other.getOutputFormat() == null ^ this.getOutputFormat() == null)
            return false;
        if (other.getOutputFormat() != null && other.getOutputFormat().equals(this.getOutputFormat()) == false)
            return false;
        if (other.getDeliveryDestinationConfiguration() == null ^ this.getDeliveryDestinationConfiguration() == null)
            return false;
        if (other.getDeliveryDestinationConfiguration() != null
                && other.getDeliveryDestinationConfiguration().equals(this.getDeliveryDestinationConfiguration()) == false)
            return false;
        if (other.getTags() == null ^ this.getTags() == null)
            return false;
        if (other.getTags() != null && other.getTags().equals(this.getTags()) == 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-logs/src/main/java/com/amazonaws/services/logs/model/DeliveryDestination.java