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

        if (obj instanceof PresetWatermark == false)
            return false;
        PresetWatermark other = (PresetWatermark) obj;
        if (other.getId() == null ^ this.getId() == null)
            return false;
        if (other.getId() != null && other.getId().equals(this.getId()) == false)
            return false;
        if (other.getMaxWidth() == null ^ this.getMaxWidth() == null)
            return false;
        if (other.getMaxWidth() != null && other.getMaxWidth().equals(this.getMaxWidth()) == false)
            return false;
        if (other.getMaxHeight() == null ^ this.getMaxHeight() == null)
            return false;
        if (other.getMaxHeight() != null && other.getMaxHeight().equals(this.getMaxHeight()) == false)
            return false;
        if (other.getSizingPolicy() == null ^ this.getSizingPolicy() == null)
            return false;
        if (other.getSizingPolicy() != null && other.getSizingPolicy().equals(this.getSizingPolicy()) == false)
            return false;
        if (other.getHorizontalAlign() == null ^ this.getHorizontalAlign() == null)
            return false;
        if (other.getHorizontalAlign() != null && other.getHorizontalAlign().equals(this.getHorizontalAlign()) == false)
            return false;
        if (other.getHorizontalOffset() == null ^ this.getHorizontalOffset() == null)
            return false;
        if (other.getHorizontalOffset() != null && other.getHorizontalOffset().equals(this.getHorizontalOffset()) == false)
            return false;
        if (other.getVerticalAlign() == null ^ this.getVerticalAlign() == null)
            return false;
        if (other.getVerticalAlign() != null && other.getVerticalAlign().equals(this.getVerticalAlign()) == false)
            return false;
        if (other.getVerticalOffset() == null ^ this.getVerticalOffset() == null)
            return false;
        if (other.getVerticalOffset() != null && other.getVerticalOffset().equals(this.getVerticalOffset()) == false)
            return false;
        if (other.getOpacity() == null ^ this.getOpacity() == null)
            return false;
        if (other.getOpacity() != null && other.getOpacity().equals(this.getOpacity()) == false)
            return false;
        if (other.getTarget() == null ^ this.getTarget() == null)
            return false;
        if (other.getTarget() != null && other.getTarget().equals(this.getTarget()) == 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-elastictranscoder/src/main/java/com/amazonaws/services/elastictranscoder/model/PresetWatermark.java