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

        if (obj instanceof DeploymentTargets == false)
            return false;
        DeploymentTargets other = (DeploymentTargets) obj;
        if (other.getAccounts() == null ^ this.getAccounts() == null)
            return false;
        if (other.getAccounts() != null && other.getAccounts().equals(this.getAccounts()) == false)
            return false;
        if (other.getAccountsUrl() == null ^ this.getAccountsUrl() == null)
            return false;
        if (other.getAccountsUrl() != null && other.getAccountsUrl().equals(this.getAccountsUrl()) == false)
            return false;
        if (other.getOrganizationalUnitIds() == null ^ this.getOrganizationalUnitIds() == null)
            return false;
        if (other.getOrganizationalUnitIds() != null && other.getOrganizationalUnitIds().equals(this.getOrganizationalUnitIds()) == false)
            return false;
        if (other.getAccountFilterType() == null ^ this.getAccountFilterType() == null)
            return false;
        if (other.getAccountFilterType() != null && other.getAccountFilterType().equals(this.getAccountFilterType()) == 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-cloudformation/src/main/java/com/amazonaws/services/cloudformation/model/DeploymentTargets.java